test(session): Speed up some tests around dead worker cleanup
This removes or reduces the time that is waited in a number of tests by allowing the grace period time be a configuration option on the connection repository.
This commit is contained in:
8 files changed
+72
-52
No files matched your search
@@ -310,7 +310,7 @@ where
|
||||
dead_servers (server_id, last_update_time) as (
|
||||
select private_id, update_time
|
||||
from server
|
||||
where update_time < wt_sub_seconds_from_now(?)
|
||||
where update_time < wt_sub_seconds_from_now(@grace_period_seconds)
|
||||
),
|
||||
closed_connections (connection_id, server_id) as (
|
||||
update session_connection
|
||||
|
||||
Reference in new issue
Block a user