diff options
| author | Dan Engelbrecht <[email protected]> | 2024-09-25 10:21:53 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-09-25 10:21:53 +0200 |
| commit | e27a5da5dae33f958a4b809a9e20a0af33c24f90 (patch) | |
| tree | 3f22bdba794108fa2a4a4d5d1fc308a986b3483b /src/zenserver/zenserver.cpp | |
| parent | exception safety when writing block (#168) (diff) | |
| download | zen-e27a5da5dae33f958a4b809a9e20a0af33c24f90.tar.xz zen-e27a5da5dae33f958a4b809a9e20a0af33c24f90.zip | |
Add `gc-attachment-passes` option to zenserver (#167)
Added option `gc-attachment-passes` to zenserver
Cleaned up GCv2 start and stop logs and added identifier to easily find matching start and end of a GC pass in log file
Fixed project store not properly sorting references found during lock phase
Diffstat (limited to 'src/zenserver/zenserver.cpp')
| -rw-r--r-- | src/zenserver/zenserver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenserver/zenserver.cpp b/src/zenserver/zenserver.cpp index ebc56d7d9..3c5d46a33 100644 --- a/src/zenserver/zenserver.cpp +++ b/src/zenserver/zenserver.cpp @@ -321,7 +321,8 @@ ZenServer::Initialize(const ZenServerOptions& ServerOptions, ZenServerState::Zen .UseGCVersion = ServerOptions.GcConfig.UseGCV2 ? GcVersion::kV2 : GcVersion::kV1, .CompactBlockUsageThresholdPercent = ServerOptions.GcConfig.CompactBlockUsageThresholdPercent, .Verbose = ServerOptions.GcConfig.Verbose, - .SingleThreaded = ServerOptions.GcConfig.SingleThreaded}; + .SingleThreaded = ServerOptions.GcConfig.SingleThreaded, + .AttachmentPassCount = ServerOptions.GcConfig.AttachmentPassCount}; m_GcScheduler.Initialize(GcConfig); // Create and register admin interface last to make sure all is properly initialized |