mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Fix a log message about when a doc will close to be more accurate
Test Plan: Checked manually for a long-opening document that the time reported is correct. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D2906
This commit is contained in:
parent
0e0528a2cc
commit
f079ffdcb3
@ -484,7 +484,7 @@ export class ActiveDoc extends EventEmitter {
|
|||||||
|
|
||||||
// If no more clients, schedule a shutdown.
|
// If no more clients, schedule a shutdown.
|
||||||
if (this.docClients.clientCount() === 0) {
|
if (this.docClients.clientCount() === 0) {
|
||||||
this.logInfo(docSession, "will self-close in %ds", Deps.ACTIVEDOC_TIMEOUT);
|
this.logInfo(docSession, "will self-close in %d ms", this._inactivityTimer.getDelay());
|
||||||
this._inactivityTimer.enable();
|
this._inactivityTimer.enable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user