You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libs/host/Configuration/Options.cs
+9
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,14 @@ internal sealed class Options
194
194
[Option("aof-size-limit",Required=false,HelpText="Maximum size of AOF (rounds down to power of 2) after which unsafe truncation will be applied. Left empty AOF will grow without bound unless a checkpoint is taken")]
195
195
publicstringAofSizeLimit{get;set;}
196
196
197
+
[IntRangeValidation(0,int.MaxValue)]
198
+
[Option("aof-refresh-freq",Required=false,HelpText="AOF replication (safe tail address) refresh frequency in milliseconds. 0 = auto refresh after every enqueue.")]
[Option("subscriber-refresh-freq",Required=false,HelpText="Subscriber (safe tail address) refresh frequency in milliseconds (for pub-sub). 0 = auto refresh after every enqueue.")]
203
+
publicintSubscriberRefreshFrequencyMs{get;set;}
204
+
197
205
[IntRangeValidation(0,int.MaxValue)]
198
206
[Option("compaction-freq",Required=false,HelpText="Background hybrid log compaction frequency in seconds. 0 = disabled (compaction performed before checkpointing instead)")]
199
207
publicintCompactionFrequencySecs{get;set;}
@@ -588,6 +596,7 @@ public GarnetServerOptions GetServerOptions(ILogger logger = null)
0 commit comments