Skip to content

Commit

Permalink
Change shutdown timeout to 29s (#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
tesshucom authored Jul 13, 2022
2 parents 6a22282 + 6b9da8f commit b6c7a51
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ public class ExecutorConfiguration {

private static final Logger LOG = LoggerFactory.getLogger(ExecutorConfiguration.class);

protected static final int SHORT_AWAIT_TERMINATION = 20_000;
protected static final int PODCAST_DOWNLOAD_AWAIT_TERMINATION = 30_000;
protected static final int PODCAST_REFRESH_AWAIT_TERMINATION = 30_000;
protected static final int SCAN_AWAIT_TERMINATION = 30_000;
protected static final int SHORT_AWAIT_TERMINATION = 10_000;
protected static final int PODCAST_DOWNLOAD_AWAIT_TERMINATION = 25_000;
protected static final int PODCAST_REFRESH_AWAIT_TERMINATION = 25_000;
protected static final int SCAN_AWAIT_TERMINATION = 25_000;

private final ShortTaskPoolConfiguration poolConf;

Expand Down
2 changes: 1 addition & 1 deletion jpsonic-main/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ logging.pattern.file=%d{yyyy-MM-dd HH:mm:ss.SSS} %5p --- %-40.40logger{32} : %m%


server.shutdown=graceful
spring.lifecycle.timeout-per-shutdown-phase=40s
spring.lifecycle.timeout-per-shutdown-phase=29s
spring.mvc.async.request-timeout=300000

server.max-http-header-size=65536
Expand Down
2 changes: 1 addition & 1 deletion jpsonic-main/src/test/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DatabaseConfigEmbedUsername=sa
DatabaseConfigEmbedPassword=

server.shutdown=graceful
spring.lifecycle.timeout-per-shutdown-phase=40s
spring.lifecycle.timeout-per-shutdown-phase=29s
spring.mvc.async.request-timeout=300000

server.max-http-header-size=65536
Expand Down

0 comments on commit b6c7a51

Please sign in to comment.