mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
docker-compose: PYTHONUNBUFFERED=1
almost zero performance impact with podman in kitty
This commit is contained in:
parent
4915b14be1
commit
3cde1f3be2
3 changed files with 10 additions and 1 deletions
|
@ -10,9 +10,12 @@ services:
|
|||
- ./:/cfg:z
|
||||
- /path/to/your/fileshare/top/folder:/w:z
|
||||
|
||||
# enabling mimalloc by replacing "NOPE" with "2" will make some stuff twice as fast, but everything will use twice as much ram:
|
||||
environment:
|
||||
LD_PRELOAD: /usr/lib/libmimalloc-secure.so.NOPE
|
||||
# enable mimalloc by replacing "NOPE" with "2" for a nice speed-boost (will use twice as much ram)
|
||||
|
||||
PYTHONUNBUFFERED: 1
|
||||
# ensures log-messages are not delayed (but can reduce speed a tiny bit)
|
||||
|
||||
stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal
|
||||
healthcheck:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue