-
Couldn't load subscription status.
- Fork 159
Open
Description
The method used for expiring values seems to be causing some issues. A lot of care must be taken to make things like setInteval and setTimeout not cause problems with the fake timers provided by sinon.
I propose a change to a lazy expiration system. It should solve the problems with sinon, and the problem of values living up to 100 milliseconds after they were supposed to expire. Plus it would allow the deletion of a large chunk of complicated code from the RedisMock constructor.
I can send a pull request if nobody else wants to do it just now.
Metadata
Metadata
Assignees
Labels
No labels