mirror of
https://github.com/usatiuk/photos.git
synced 2025-10-28 07:27:47 +01:00
longer timeout for uploading photos
This commit is contained in:
@@ -223,7 +223,7 @@ function* photoUpload() {
|
|||||||
try {
|
try {
|
||||||
const { response, timeout } = yield race({
|
const { response, timeout } = yield race({
|
||||||
response: call(uploadPhoto, f, pId),
|
response: call(uploadPhoto, f, pId),
|
||||||
timeout: delay(10000),
|
timeout: delay(240000),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (timeout) {
|
if (timeout) {
|
||||||
|
|||||||
Reference in New Issue
Block a user