Merge pull request #19630 from overleaf/jpa-leaner-ldap-pod

[server-pro] tests: import workaround for large memory allocation

GitOrigin-RevId: d739821153b5e29fb20e468796f655859428869b
This commit is contained in:
Jakob Ackermann 2024-07-29 11:16:14 +02:00 committed by Copybot
parent 5bc5b1af2a
commit bd2a99aca7

View file

@ -124,3 +124,10 @@ services:
ldap: ldap:
restart: always restart: always
image: rroemhild/test-openldap:1.1 image: rroemhild/test-openldap:1.1
# Workaround large memory allocation (using the max-open-files-limit as socket buffer scale).
# REF: https://github.com/moby/moby/issues/8231#issuecomment-63877553
# REF: https://github.com/moby/moby/issues/8231#issuecomment-63871343
command:
- 'bash'
- '-c'
- 'ulimit -n 1024 && exec bash /run.sh'