Band-aid: wait a while before sending notify

## Issue
The status = 0 is due to unresponsive backend right after the tus-upload. No root-cause found yet.

## Change
It may or may not help, but adding a delay to account for the unresponsive stage for now.
This commit is contained in:
infinite-persistence 2021-11-12 18:34:08 +08:00
parent d8080a9fda
commit b0509bc990
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -103,7 +103,7 @@ export function makeResumableUploadRequest(
xhr.send(jsonPayload); xhr.send(jsonPayload);
} }
makeNotifyRequest(); setTimeout(() => makeNotifyRequest(), 15000);
}, },
}); });