Fix debugging and allow extended timeouts

This commit is contained in:
okx-code
2024-09-04 01:02:49 +01:00
parent 6079dcb1f4
commit c7802819eb
4 changed files with 7 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ settings:
save-user-cache-on-stop-only: false
moved-wrongly-threshold: 1.0625
moved-too-quickly-multiplier: 50.0
timeout-time: ${WATCHDOG_TIMEOUT_TIME}
timeout-time: ${CIV_WATCHDOG_TIMEOUT_TIME}
restart-on-crash: false
restart-script: ./start.sh
netty-threads: 4

View File

@@ -19,7 +19,7 @@ permissions:
log_pings: true
connection_throttle_limit: 3
prevent_proxy_connections: false
timeout: 30000
timeout: ${CIV_TIMEOUT_TIME}
player_limit: -1
ip_forward: true
remote_ping_timeout: 5000

View File

@@ -28,6 +28,7 @@ services:
CIV_POSTGRES_HOST: minecraft_postgres
CIV_POSTGRES_USERNAME: '{{secret.minecraft.postgres.username}}'
CIV_POSTGRES_PASSWORD: '{{secret.minecraft.postgres.password}}'
CIV_TIMEOUT_TIME: 30000
deploy:
placement:
constraints: [node.role == manager]
@@ -90,7 +91,7 @@ services:
CIV_RABBITMQ_USERNAME: rabbitmq
CIV_RABBITMQ_PASSWORD: '{{secret.minecraft.rabbitmq.password}}'
WATCHDOG_TIMEOUT_TIME: 60
CIV_WATCHDOG_TIMEOUT_TIME: 60
volumes:
# Persistence

View File

@@ -29,6 +29,8 @@ services:
CIV_POSTGRES_HOST: postgres
CIV_POSTGRES_USERNAME: postgres
CIV_POSTGRES_PASSWORD: postgres
CIV_TIMEOUT_TIME: 3000000
ports:
- "25565:25577"
volumes:
@@ -80,7 +82,7 @@ services:
CIV_RABBITMQ_PASSWORD: rabbitmq
JVM_OPTS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
WATCHDOG_TIMEOUT_TIME: 6000
CIV_WATCHDOG_TIMEOUT_TIME: 6000
ports:
- "5005:5005"
volumes: