fix: reduce trim history lock timeout

- From 2 minutes to 15 seconds
This commit is contained in:
Fabrice Mouhartem 2026-09-11 17:16:12 +02:00
parent f91f7c2b73
commit 03000a8a76
No known key found for this signature in database

View File

@ -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) {