diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-07-31 22:25:16 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-07-31 22:25:16 -0500 |
| commit | f38fce05915e26c194636fc66d136974ed2db9cd (patch) | |
| tree | 738a513f21cd9141eaa7577d78f19d1e15f3a25e /Dockerfile | |
| parent | b908e4fa3781768fc053415e45c3b80a026213ae (diff) | |
| download | slskd-f38fce05915e26c194636fc66d136974ed2db9cd.tar.gz | |
add additional GC envars, cap memory to 500mib
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,8 @@ HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget - ENV DOTNET_BUNDLE_EXTRACT_BASE_DIR=/var/tmp/.net \ DOTNET_gcServer=0 \ + DOTNET_gcConcurrent=1 \ + DOTNET_GCHeapHardLimit=1F400000 \ DOTNET_GCConserveMemory=9 \ SLSKD_HTTP_PORT=5000 \ SLSKD_HTTPS_PORT=5001 \ |
