2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-25 23:32:17 +08:00
Commit Graph

24 Commits

Author SHA1 Message Date
Ken Hibino
c62833540c Add license comment to all src files 2020-01-02 18:13:16 -08:00
Ken Hibino
ade97befbc Minor cleanup 2019-12-30 07:14:49 -08:00
Ken Hibino
22b21df884 Allow user to specify retry delay duration 2019-12-30 07:14:49 -08:00
Ken Hibino
9af14d9a6d Add Config type to configure background processing behavior 2019-12-30 07:14:49 -08:00
Ken Hibino
fc71857c7c Change NewBackground API to take *redis.Client 2019-12-29 14:55:16 -08:00
Ken Hibino
fef5ae6d3f Rename poller to scheduler 2019-12-29 10:05:02 -08:00
Ken Hibino
24dd78b31c Stop processing more tasks from the queue once TSTP signal is received 2019-12-17 06:18:22 -08:00
Ken Hibino
3e30c5916b Trap and handle TSTP signal 2019-12-17 05:32:31 -08:00
Ken Hibino
911e600c41 Terminate background upon receiving SIGTERM or SIGINT 2019-12-16 20:19:58 -08:00
Ken Hibino
8932ca41b3 Minor improvement 2019-12-09 06:30:45 -08:00
Ken Hibino
aa8a3b8aaa Update exported package API docs 2019-12-06 22:00:09 -08:00
Ken Hibino
4684f961c0 Refactor forwarding of scheduled tasks 2019-12-04 07:14:37 -08:00
Ken Hibino
d4e442d04f Extract rdb to internal package 2019-12-03 22:13:48 -08:00
Ken Hibino
57838600ef Rename to RedisConfig 2019-12-03 19:43:01 -08:00
Ken Hibino
b0a54cd2b2 Change Background API to take Handler interface 2019-12-02 20:45:40 -08:00
Ken Hibino
ad1291e0a1 Add test for background to verify no goroutine leaks 2019-11-29 20:49:18 -08:00
Ken Hibino
facdadd7b0 Change shutdown message to use info level logging 2019-11-29 07:14:28 -08:00
Ken Hibino
fab2dcb56e Change newRDB signature 2019-11-27 06:41:54 -08:00
Ken Hibino
e6b1230c36 Update log messages on shutdown 2019-11-27 06:33:04 -08:00
Ken Hibino
f91004e6aa Add DB field to RedisOpt to specify redis db index 2019-11-24 18:41:55 -08:00
Ken Hibino
d5c2b9b995 Follow the convention of declaring variable immediately after its guard
mutex
2019-11-23 20:18:39 -08:00
Ken Hibino
5eaf606a0d fix: Nil out handler reference after all workers have finished 2019-11-23 17:09:57 -08:00
Ken Hibino
be3b774b51 Simplify Background API 2019-11-23 15:44:42 -08:00
Ken Hibino
e19c45cff3 Rename Launcher to Background 2019-11-23 15:22:43 -08:00