From 2a9787d39f98cd00a5625b01f50ee73ddba396b4 Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Mon, 19 Oct 2020 22:30:47 +0300 Subject: [PATCH] longer timeout for uploading photos --- frontend/src/redux/photos/sagas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/redux/photos/sagas.ts b/frontend/src/redux/photos/sagas.ts index ca5f21a..95f8128 100644 --- a/frontend/src/redux/photos/sagas.ts +++ b/frontend/src/redux/photos/sagas.ts @@ -223,7 +223,7 @@ function* photoUpload() { try { const { response, timeout } = yield race({ response: call(uploadPhoto, f, pId), - timeout: delay(10000), + timeout: delay(240000), }); if (timeout) {