Updated
This commit is contained in:
1 parent
17d7426b44
commit
a0959ea2c7
11 files changed
+171
-35
No files matched your search
@@ -17,5 +17,17 @@ namespace EonaCat.LogStack.LogClient
|
||||
public int BatchSize { get; set; } = 1;
|
||||
public int FlushIntervalSeconds { get; set; } = 5;
|
||||
public bool EnableFallbackLogging { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Maximum number of entries kept in memory while the server is unreachable.
|
||||
/// Oldest entries are dropped once this is exceeded to avoid unbounded memory growth.
|
||||
/// </summary>
|
||||
public int MaxQueueSize { get; set; } = 10000;
|
||||
|
||||
/// <summary>
|
||||
/// Maximum time an entry is kept in memory waiting to be (re)sent. Entries older
|
||||
/// than this are dropped instead of retried/re-queued forever.
|
||||
/// </summary>
|
||||
public TimeSpan MaxRetention { get; set; } = TimeSpan.FromMinutes(10);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user