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
The issue is that when document expiration is set, a timer is created to run the purge job at the interval that is determined by calculating the next expiring document. If the next document is greater than 2^32-1 seconds in the future, then the timer will throw an exception being unable to schedule itself.
Library Version
1.4.1
.NET Runtime
All
Operating System / Device Details
Any
Log Output
An exception starting with either ExpireAt or ExpireAfter and ending at the Change method of the .NET timer (System.ArgumentOutOfRangeException). Furthermore, this information is saved and causes inability to open the database until the interval is less than the max allowed.
Expected behavior
No exceptions, and the TTL behaving properly.
Actual behavior
The exception described above
Steps To Reproduce
Get a document from the database
Call ExpireAfter with TimeSpan.Days(60) or thereabouts
Reproduction Project
None
The text was updated successfully, but these errors were encountered:
The issue is that when document expiration is set, a timer is created to run the purge job at the interval that is determined by calculating the next expiring document. If the next document is greater than 2^32-1 seconds in the future, then the timer will throw an exception being unable to schedule itself.
Library Version
1.4.1
.NET Runtime
All
Operating System / Device Details
Any
Log Output
An exception starting with either
ExpireAt
orExpireAfter
and ending at theChange
method of the .NET timer (System.ArgumentOutOfRangeException). Furthermore, this information is saved and causes inability to open the database until the interval is less than the max allowed.Expected behavior
No exceptions, and the TTL behaving properly.
Actual behavior
The exception described above
Steps To Reproduce
ExpireAfter
withTimeSpan.Days(60)
or thereaboutsReproduction Project
None
The text was updated successfully, but these errors were encountered: