Commit Graph

2 Commits

Author SHA1 Message Date
kencx
4ae606a320 Refactor setLock to accept key value pairs
This allows SetCron and Lock to use the same function setLockValue. It
also removes the need to call getLock explicitly in tests by returning
the lock object.
2022-06-06 13:35:26 +08:00
kencx
95f91c1984 Add lock tests 2022-06-06 12:35:32 +08:00