mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
fix: reduce trim history lock timeout
- From 2 minutes to 15 seconds
This commit is contained in:
parent
f91f7c2b73
commit
03000a8a76
@ -434,7 +434,7 @@ define([
|
||||
UI.removeModals();
|
||||
Feedback.send(`TRIM_HISTORY_TIMEOUT=${channels.map(obj => obj?.channel).join('|')}`, true);
|
||||
UI.warn(Messages.trimHistory_error);
|
||||
}, 120000);
|
||||
}, 15000);
|
||||
APP.history.execCommand('TRIM_HISTORY', {
|
||||
channels: channels
|
||||
}, function(obj) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user