Skip to content

Commit f516f42

Browse files
committed
chore: increase a number of Jetty threads to fix the integration tests
Correction for 08a07ce commit. Previously, a number of threads was enough only for handling a single client connection. When we tried to create a series with an image that should be downloaded from the same server, we couldn't do that as an only worker was busy -- it was waiting when a server downloads an image from itself. Fix #1633
1 parent fd893a6 commit f516f42

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/main/resources/application-postgres.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ logging.level.org.springframework.web.servlet.mvc.method.annotation.RequestMappi
3939
app.use-cdn: false
4040

4141
# reduce a number of threads (8 and 200 by default)
42-
server.jetty.threads.min: 2
43-
server.jetty.threads.max: 4
42+
server.jetty.threads.min: 4
43+
server.jetty.threads.max: 6
4444

4545
# Full list of autoconfiguration classes:
4646
# https://docs.spring.io/spring-boot/docs/2.3.x/reference/html/appendix-auto-configuration-classes.html

src/main/resources/application-test.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ spring.h2.console.path: /console
1414
server.max-http-header-size: 4096
1515

1616
# reduce a number of threads (8 and 200 by default)
17-
server.jetty.threads.min: 2
18-
server.jetty.threads.max: 4
17+
server.jetty.threads.min: 4
18+
server.jetty.threads.max: 6
1919

2020
spring.messages.cache-duration: 1m
2121
spring.messages.fallback-to-system-locale: false

src/main/resources/application-travis.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ app.preview.dir: /tmp/preview
3838
app.use-cdn: false
3939

4040
# reduce a number of threads (8 and 200 by default)
41-
server.jetty.threads.min: 2
42-
server.jetty.threads.max: 4
41+
server.jetty.threads.min: 4
42+
server.jetty.threads.max: 6
4343

4444
# Full list of autoconfiguration classes:
4545
# https://docs.spring.io/spring-boot/docs/2.3.x/reference/html/appendix-auto-configuration-classes.html

0 commit comments

Comments
 (0)