From ca39f62594c41ec072d8abe40fb485786a6bce95 Mon Sep 17 00:00:00 2001 From: 13xforever Date: Thu, 30 Jul 2020 17:05:40 +0500 Subject: [PATCH] update deps and move server gc pref in docker environment --- Clients/CompatApiClient/CompatApiClient.csproj | 2 +- Clients/IrdLibraryClient/IrdLibraryClient.csproj | 2 +- Clients/PsnClient/PsnClient.csproj | 2 +- CompatBot/CompatBot.csproj | 9 ++++----- Dockerfile | 1 + 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Clients/CompatApiClient/CompatApiClient.csproj b/Clients/CompatApiClient/CompatApiClient.csproj index b26dd91c..59a78926 100644 --- a/Clients/CompatApiClient/CompatApiClient.csproj +++ b/Clients/CompatApiClient/CompatApiClient.csproj @@ -15,7 +15,7 @@ - + diff --git a/Clients/IrdLibraryClient/IrdLibraryClient.csproj b/Clients/IrdLibraryClient/IrdLibraryClient.csproj index 2a631236..b85c8f13 100644 --- a/Clients/IrdLibraryClient/IrdLibraryClient.csproj +++ b/Clients/IrdLibraryClient/IrdLibraryClient.csproj @@ -8,7 +8,7 @@ - + diff --git a/Clients/PsnClient/PsnClient.csproj b/Clients/PsnClient/PsnClient.csproj index 377cba64..3ad6f3fa 100644 --- a/Clients/PsnClient/PsnClient.csproj +++ b/Clients/PsnClient/PsnClient.csproj @@ -15,7 +15,7 @@ - + diff --git a/CompatBot/CompatBot.csproj b/CompatBot/CompatBot.csproj index 299013b6..5400e59c 100644 --- a/CompatBot/CompatBot.csproj +++ b/CompatBot/CompatBot.csproj @@ -10,7 +10,6 @@ 1701;1702;VSTHRD200 Linux true - true @@ -35,7 +34,7 @@ - + @@ -54,16 +53,16 @@ - + - + - + diff --git a/Dockerfile b/Dockerfile index ad561768..4eb2d542 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ RUN git status RUN dotnet build "CompatBot/CompatBot.csproj" -c Release ENV RUNNING_IN_DOCKER true # Limit server GC to 384 MB heap max +ENV COMPlus_gcServer 1 ENV COMPlus_GCHeapHardLimit 0x18000000 WORKDIR /src/CompatBot RUN dotnet run -c Release --dry-run