Skip to content

Commit 6b4e387

Browse files
committed
Optimize deploy
1 parent 1c59af2 commit 6b4e387

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

docker-compose.dev.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ services:
135135
# Memory and performance tuning
136136
MALLOC_ARENA_MAX: 2 # Limit memory arenas for stability
137137
PYTHONMALLOC: malloc # Use system malloc for better memory management
138+
ulimits:
139+
nofile:
140+
soft: 65536
141+
hard: 65536
138142
volumes:
139143
- ./logs:/app/logs
140144
- ./upload_files:/app/upload_files

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ services:
130130
# Memory and performance tuning
131131
MALLOC_ARENA_MAX: 2 # Limit memory arenas for stability
132132
PYTHONMALLOC: malloc # Use system malloc for better memory management
133+
ulimits:
134+
nofile:
135+
soft: 65536
136+
hard: 65536
133137
volumes:
134138
- ./logs:/app/logs
135139
- ./upload_files:/app/upload_files

0 commit comments

Comments
 (0)