From a69560b1927839e7c186624662a8f0d6d8055a64 Mon Sep 17 00:00:00 2001 From: Eric Enns Date: Thu, 15 Sep 2022 11:43:06 -0500 Subject: [PATCH 1/2] fix: allow large async downloads to complete by increasing async request timeout to 60 minutes --- src/main/resources/application.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 788601d4593..3806a875d2a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -14,6 +14,9 @@ spring.profiles.default=dev # Session timeout in seconds (1800 = 30 minutes) session.max.timeout=1800 +# Async request timeout in milliseconds (3600000 = 60 minutes) +spring.mvc.async.request-timeout=3600000 + # Default hibernate settings spring.jpa.database-platform=org.hibernate.dialect.MySQL55Dialect spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl From fb4b20ef38303427083e831816005d1499ad39b8 Mon Sep 17 00:00:00 2001 From: Eric Enns Date: Thu, 15 Sep 2022 14:05:13 -0500 Subject: [PATCH 2/2] chore: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 277e63f6939..d620e9d09f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ * [Workflow]: Start the Galaxy Data Library timeout when an upload begins rather than when it is first queued up. See [PR 1337](https://github.com/phac-nml/irida/pull/1337) * [Developer]: Added description and metadata to create & update project sample endpoints. See [PR 1359](https://github.com/phac-nml/irida/pull/1359) * [UI]: Fix issue where year is displayed incorrectly when the last day of the week for the date is in another year. See [PR 1364](https://github.com/phac-nml/irida/pull/1364) +* [Developer]: Fix issue where large downloads silent failed due to async request timeout. See [PR 1368](https://github.com/phac-nml/irida/pull/1368) ## [22.05.5] - 2022/06/28 * [UI]: Fixed bug preventing export of project samples table due to invalid url. [PR 1331](https://github.com/phac-nml/irida/pull/1331)