Skip to content

Commit

Permalink
Updated retention value (superstreamlabs#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbazen authored Nov 29, 2023
1 parent 672893c commit a68f0ea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NUGET-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ try
{
Name = "<station-name>",
RetentionType = RetentionTypes.MAX_MESSAGE_AGE_SECONDS,
RetentionValue = 604_800,
RetentionValue = 3600,
StorageType = StorageTypes.DISK,
Replicas = 1,
IdempotencyWindowMs = 0,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ try
{
Name = "<station-name>",
RetentionType = RetentionTypes.MAX_MESSAGE_AGE_SECONDS,
RetentionValue = 604_800,
RetentionValue = 3600,
StorageType = StorageTypes.DISK,
Replicas = 1,
IdempotencyWindowMs = 0,
Expand Down
2 changes: 1 addition & 1 deletion examples/Station/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static async Task Main(string[] args)
{
Name = "<station-name>",
RetentionType = RetentionTypes.MAX_MESSAGE_AGE_SECONDS,
RetentionValue = 604_800,
RetentionValue = 3600,
StorageType = StorageTypes.DISK,
Replicas = 1,
IdempotenceWindowMs = 0,
Expand Down
2 changes: 1 addition & 1 deletion src/Memphis.Client/Station/StationOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed class StationOptions
/// </description>
/// </summary>
public string RetentionType { get; set; } = RetentionTypes.MAX_MESSAGE_AGE_SECONDS;
public int RetentionValue { get; set; } = 604_800;
public int RetentionValue { get; set; } = 3600;
public string StorageType { get; set; } = StorageTypes.DISK;
public int Replicas { get; set; } = 1;
public int IdempotenceWindowMs { get; set; } = 120_000;
Expand Down

0 comments on commit a68f0ea

Please sign in to comment.