Commit Graph

8 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
db9f5dea66 1.5.4 2022-02-16 21:42:54 +01:00
2b14e6b1af remove print 2021-11-24 09:35:31 +01:00
252968e15e ensure config is loaded before lock 2021-11-23 12:32:35 +01:00
86d44eafad exit with better message 2021-04-17 20:51:40 +02:00
e927fd5a64 panic on already running 2021-04-17 20:45:52 +02:00
8a1fe41825 cron 2021-04-11 15:02:27 +02:00
03cbbfd91c go rewrite 2021-04-09 01:55:10 +02:00