Commit df007eb4af72a419c146049c610f45318ce6ea62
1 parent
2d1f84a7
Added default timeout for asynchronous requests
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -455,6 +455,9 @@ spring.mvc.cors: | @@ -455,6 +455,9 @@ spring.mvc.cors: | ||
455 | #Set whether credentials are supported. When not set, credentials are not supported. | 455 | #Set whether credentials are supported. When not set, credentials are not supported. |
456 | allow-credentials: "true" | 456 | allow-credentials: "true" |
457 | 457 | ||
458 | +# The default timeout for asynchronous requests in milliseconds | ||
459 | +spring.mvc.async.request-timeout: "${SPRING_MVC_ASYNC_REQUEST_TIMEOUT:30000}" | ||
460 | + | ||
458 | # spring serve gzip compressed static resources | 461 | # spring serve gzip compressed static resources |
459 | spring.resources.chain: | 462 | spring.resources.chain: |
460 | compressed: "true" | 463 | compressed: "true" |