mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[bug] Delete redis proxy key when all viewer quit; For bug 77217
This commit is contained in:
@ -2177,6 +2177,10 @@ exports.install = function (server, app, callbackFunction) {
|
||||
userIndex
|
||||
);
|
||||
}
|
||||
} else {
|
||||
if (hvals?.length <= 0 && editorStatProxy?.deleteKey) {
|
||||
yield editorStatProxy.deleteKey(docId);
|
||||
}
|
||||
}
|
||||
const sessionType = isView ? 'view' : 'edit';
|
||||
const sessionTimeMs = new Date().getTime() - conn.sessionTimeConnect;
|
||||
|
||||
Reference in New Issue
Block a user