Skip to content

Commit

Permalink
Specify custom ulimit on nofiles to prevent infinite loop by billiard
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Nov 20, 2024
1 parent 958adbe commit de7eda0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dandi/tests/data/dandiarchive-docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: '3.7'
# Based on
# <https://github.com/dandi/dandiarchive/blob/master/docker/docker-compose.yml>,
# <https://github.com/dandi/dandi-api/blob/master/docker-compose.yml>, and
Expand Down Expand Up @@ -67,7 +68,11 @@ services:
environment:
<< : *django_env
DJANGO_DANDI_VALIDATION_JOB_INTERVAL: "5"

ulimits:
# https://github.com/celery/billiard/pull/417
nofile:
soft: 1000
hard: 3000
minio:
image: minio/minio:RELEASE.2022-04-12T06-55-35Z
# When run with a TTY, minio prints credentials on startup
Expand Down

0 comments on commit de7eda0

Please sign in to comment.