Skip to content

Commit

Permalink
fix: the important thing it's works
Browse files Browse the repository at this point in the history
  • Loading branch information
franklaercio committed Feb 21, 2024
1 parent 824d80b commit a52205c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ services:
- "5432:5432"
volumes:
- ./script.sql:/docker-entrypoint-initdb.d/script.sql
# command: 'postgres -c max_connections=1000 -c work_mem=8MB -c hot_standby=off -c shared_buffers=135MB -c checkpoint_timeout=1d -c wal_level=minimal -c synchronous_commit=off -c fsync=off -c full_page_writes=off -c max_wal_senders=0'
deploy:
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
events {
worker_connections 1000;
worker_connections 400;
}

http {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://${DB_HOSTNAME:localhost}:5432/${POSTGRES_DB:rinha}
spring.datasource.username=${POSTGRES_USER:admin}
spring.datasource.password=${DATABASE_PASSWORD:123}
spring.datasource.hikari.maximum-pool-size=15
spring.datasource.hikari.maximum-pool-size=10
spring.main.banner-mode=off

0 comments on commit a52205c

Please sign in to comment.