Skip to content

Commit

Permalink
chore: increase a number of Jetty threads to fix the integration tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
php-coder committed Oct 13, 2023
1 parent fd893a6 commit f516f42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/application-postgres.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ logging.level.org.springframework.web.servlet.mvc.method.annotation.RequestMappi
app.use-cdn: false

# reduce a number of threads (8 and 200 by default)
server.jetty.threads.min: 2
server.jetty.threads.max: 4
server.jetty.threads.min: 4
server.jetty.threads.max: 6

# Full list of autoconfiguration classes:
# https://docs.spring.io/spring-boot/docs/2.3.x/reference/html/appendix-auto-configuration-classes.html
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spring.h2.console.path: /console
server.max-http-header-size: 4096

# reduce a number of threads (8 and 200 by default)
server.jetty.threads.min: 2
server.jetty.threads.max: 4
server.jetty.threads.min: 4
server.jetty.threads.max: 6

spring.messages.cache-duration: 1m
spring.messages.fallback-to-system-locale: false
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-travis.properties
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ app.preview.dir: /tmp/preview
app.use-cdn: false

# reduce a number of threads (8 and 200 by default)
server.jetty.threads.min: 2
server.jetty.threads.max: 4
server.jetty.threads.min: 4
server.jetty.threads.max: 6

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

0 comments on commit f516f42

Please sign in to comment.