Add monitor session job proto and controller changes
This adds a new Job type that is for generic session state monitoring. Monitoring sessions does not include any information about specific connections.
This commit is contained in:
1 parent
4d60f42210
commit
bc48f2d0e0
10 files changed
+851
-320
No files matched your search
@@ -392,15 +392,6 @@ update session_connection
|
||||
where
|
||||
public_id in (select public_id from connections_to_close)
|
||||
returning public_id;
|
||||
`
|
||||
checkIfNotActive = `
|
||||
select session_id, state
|
||||
from session_state ss
|
||||
where
|
||||
(ss.state = 'canceling' or ss.state = 'terminated')
|
||||
and ss.end_time is null
|
||||
%s
|
||||
;
|
||||
`
|
||||
deleteTerminated = `
|
||||
delete from session
|
||||
|
||||
Reference in new issue
Block a user