Revert "Upload data less aggressively": mobile browsers don't ask for confirmation when closing

This reverts commit 0ef73c1c74.
This commit is contained in:
Pieter Vander Vennet 2021-07-03 14:36:26 +02:00
parent 0ef73c1c74
commit d686a756fb
2 changed files with 33 additions and 1 deletions

View file

@ -22,7 +22,7 @@ export default class Constants {
* Used by 'PendingChangesUploader', which waits this amount of seconds to upload changes.
* (Note that pendingChanges might upload sooner if the popup is closed or similar)
*/
static updateTimeoutSec: number = 180;
static updateTimeoutSec: number = 30;
private static isRetina(): boolean {
if (Utils.runningFromConsole) {