Browse Source
Merge pull request #5140 from ShvaykaD/improvements/mvc-rest-api-request-timeout
[3.3.1] Added default timeout for asynchronous requests
pull/5175/head
Andrew Shvayka
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
application/src/main/resources/thingsboard.yml
|
|
|
@ -455,6 +455,9 @@ spring.mvc.cors: |
|
|
|
#Set whether credentials are supported. When not set, credentials are not supported. |
|
|
|
allow-credentials: "true" |
|
|
|
|
|
|
|
# The default timeout for asynchronous requests in milliseconds |
|
|
|
spring.mvc.async.request-timeout: "${SPRING_MVC_ASYNC_REQUEST_TIMEOUT:30000}" |
|
|
|
|
|
|
|
# spring serve gzip compressed static resources |
|
|
|
spring.resources.chain: |
|
|
|
compressed: "true" |
|
|
|
|