2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-27 00:02:19 +08:00
Commit Graph

21 Commits

Author SHA1 Message Date
Ken Hibino
1617278d86 Rename (*rdb).lrem to (*rdb).remove 2019-11-27 20:05:31 -08:00
Ken Hibino
efaceb8a03 Clean up error messages from rdb methods 2019-11-27 19:43:33 -08:00
Ken Hibino
c9a8f5fabd Minor cleanup 2019-11-27 19:36:56 -08:00
Ken Hibino
47e2a57d05 Rename (*rdb).zadd to (*rdb).schedule 2019-11-27 07:16:16 -08:00
Ken Hibino
fab2dcb56e Change newRDB signature 2019-11-27 06:41:54 -08:00
Ken Hibino
97b96f6992 Use lua script to implement (*rdb).moveAll 2019-11-26 10:09:42 -08:00
Ken Hibino
d2a6cc127d Use (*rdb).forward in poller 2019-11-26 06:52:58 -08:00
Ken Hibino
cff5e67018 Refactor (*rdb).forward test 2019-11-26 06:38:11 -08:00
Ken Hibino
199dcf8fdb Use pipeline for enqueue 2019-11-25 20:10:35 -08:00
Ken Hibino
faa9b6ee22 Rename (*rdb).push to enqueue 2019-11-25 19:58:24 -08:00
Ken Hibino
4aa5078dc4 Add (*rdb).forward method using lua script 2019-11-25 07:11:40 -08:00
Ken Hibino
ac3190a0d5 Update comments 2019-11-23 16:44:22 -08:00
Ken Hibino
fd80126a67 Add logic to restore unfinished tasks back into the default queue if
there are any uncompleted tasks
2019-11-23 15:09:50 -08:00
Ken Hibino
4a327933bd Use command BRPUSHLPOP to move from queue to in_progress in redis 2019-11-23 08:43:41 -08:00
Ken Hibino
76ceb282a9 Change the direction of list push/pop operations 2019-11-23 08:24:16 -08:00
Ken Hibino
3fa867b190 Remove per task heartbeat 2019-11-23 08:21:32 -08:00
Ken Hibino
2e0af11ca0 Add heartbeat goroutine to write heartbeat data to redis for active
worker
2019-11-22 06:43:42 -08:00
Ken Hibino
67a9e8aa00 Track in-progress tasks with redis SET 2019-11-21 21:45:27 -08:00
Ken Hibino
3dddcfbb14 Minor cleanup 2019-11-20 20:27:01 -08:00
Ken Hibino
dd0b0b358c Add tests for type rdb 2019-11-20 07:01:24 -08:00
Ken Hibino
85a04cbabb Extract redis logic to type rdb 2019-11-19 21:08:06 -08:00