perrich / Hangfire.MemoryStorage

A memory storage for Hangfire.
Apache License 2.0
131 stars 43 forks source link

Fix off-by-one in GetRangeFrom List/Set #29

Closed jhenkens closed 5 years ago

jhenkens commented 5 years ago

We noticed that when browsing the Hangfire Dashboard while using the Memory Storage, the jobs pages have an off-by-one error. I compared the source here to the implementation of the SqlServer storage solution and it appears that the method is supposed to be inclusive of both startingFrom and endingAt (i.e., start at 0, end at 9, should give 10 keys).

perrich commented 5 years ago

Thank you