Skip to content

Commit

Permalink
fix register timer
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Turowicz committed Aug 29, 2023
1 parent 88213f7 commit a79e25f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public Task SetAsync(Immutable<T> item)
{
State.Item = item;

_ = RegisterTimer(PersistTimerAsync, null, TimeSpan.Zero, TimeSpan.MaxValue);
_ = RegisterTimer(PersistTimerAsync, null, TimeSpan.Zero, TimeSpan.FromDays(1));

return Task.CompletedTask;
}
Expand Down

0 comments on commit a79e25f

Please sign in to comment.