Commit Graph

9 Commits

Author SHA1 Message Date
kenc 2b9dc9f17c
Add test for locking behaviour (#211) 2022-06-27 09:03:34 +02:00
kenc 465bc037c2
Add lock tests (#209)
* Add lock tests

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