fix(frontend-assist): set disconnection on inactivity to 15sec
This commit is contained in:
parent
c60c769c40
commit
b24fc5e137
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ export default class AssistManager {
|
|||
if (document.hidden && getState().calling === CallingState.NoCall) {
|
||||
this.socket?.close()
|
||||
}
|
||||
}, 2000) // TODO: test on 2000
|
||||
}, 15000)
|
||||
} else {
|
||||
inactiveTimeout && clearTimeout(inactiveTimeout)
|
||||
this.socket?.open()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue