mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Remove idle timeout for connection with isCloseCoAuthoring
This commit is contained in:
@ -3399,7 +3399,7 @@ exports.install = function(server, callbackFunction) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (cfgExpSessionIdle > 0 && !conn.user?.view) {
|
||||
if (cfgExpSessionIdle > 0 && !(conn.user?.view || conn.isCloseCoAuthoring)) {
|
||||
if (maxMs - conn.sessionTimeLastAction > cfgExpSessionIdle && !conn.sessionIsSendWarning) {
|
||||
conn.sessionIsSendWarning = true;
|
||||
sendDataSession(ctx, conn, {
|
||||
|
||||
Reference in New Issue
Block a user