Skip to content

Commit

Permalink
disable server garbage collection to reduce memory usage. Disable sin…
Browse files Browse the repository at this point in the history
…gle file until sillsdev/icu-dotnet#201 is merged.
  • Loading branch information
hahn-kev committed Jul 2, 2024
1 parent 6506b4e commit e75d5a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/LocalWebApp/LocalWebApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
<ImplicitUsings>enable</ImplicitUsings>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
<ServerGarbageCollection>false</ServerGarbageCollection>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release' ">
<PublishSingleFile>true</PublishSingleFile>
<!-- single file disabled for now, pending https://github.com/sillsdev/icu-dotnet/pull/201-->
<PublishSingleFile>false</PublishSingleFile>
<SelfContained>true</SelfContained>
<PublishTrimmed>false</PublishTrimmed>
</PropertyGroup>
Expand Down
4 changes: 4 additions & 0 deletions backend/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ tasks:
- task: publish-local-win
- task: publish-local-linux
- task: publish-local-osx
- task: publish-local-osx-arm
publish-local-win:
dir: ./LocalWebApp
deps: [ui:build-viewer-app]
Expand All @@ -117,3 +118,6 @@ tasks:
publish-local-osx:
dir: ./LocalWebApp
cmd: dotnet publish -r osx-x64
publish-local-osx-arm:
dir: ./LocalWebApp
cmd: dotnet publish -r osx-arm64

0 comments on commit e75d5a0

Please sign in to comment.