Skip to content

Commit

Permalink
build: add tomcat keep-alive-timeout (#1780)
Browse files Browse the repository at this point in the history
  • Loading branch information
takb authored Apr 16, 2024
2 parents dfd5788 + 6055e7d commit e73ded5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ RELEASING:
## [Unreleased]
### Added
- documentation for A* config parameters ([#1759](https://github.com/GIScience/openrouteservice/pull/1759))
- keep-alive-timeout for spring internal tomcat ([#1780](https://github.com/GIScience/openrouteservice/pull/1780))

### Fixed
- preparation mode exiting with code 0 on fail ([#1772](https://github.com/GIScience/openrouteservice/pull/1772))
Expand Down
2 changes: 2 additions & 0 deletions ors-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ server:
# Keep the context-path at / else the war file run with tomcat will have the context-path of /ors/v2 as well.
servlet:
context-path: /ors
tomcat:
keep-alive-timeout: 30000

spring:
profiles:
Expand Down
1 change: 1 addition & 0 deletions ors-config.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#server.port=8082
#server.error.whitelabel.enabled=false
#server.servlet.context-path=/ors
#server.tomcat.keep-alive-timeout=30000
#spring.profiles.active=default
#spring.mvc.servlet.path=/
#springdoc.swagger-ui.enabled=true
Expand Down
2 changes: 2 additions & 0 deletions ors-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# # Keep the context-path at / else the war file run with tomcat will have the context-path of /ors/v2 as well.
# servlet:
# context-path: /ors
# tomcat:
# keep-alive-timeout: 30000
#spring:
# profiles:
# active: default
Expand Down

0 comments on commit e73ded5

Please sign in to comment.