autosave: make requests time out
This avoids recent requests being stuck because an older request never finished.
This commit is contained in:
parent
68f5aae99d
commit
6de5c0c9d1
3 changed files with 18 additions and 3 deletions
|
@ -14,7 +14,7 @@ const AUTOSAVE_DEBOUNCE_DELAY = gon.autosave.debounce_delay;
|
|||
const AUTOSAVE_STATUS_VISIBLE_DURATION = gon.autosave.status_visible_duration;
|
||||
|
||||
// Create a controller responsible for queuing autosave operations.
|
||||
const autosaveController = new AutosaveController(AUTOSAVE_DEBOUNCE_DELAY);
|
||||
const autosaveController = new AutosaveController();
|
||||
|
||||
// Whenever a 'change' event is triggered on one of the form inputs, try to autosave.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue