2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-11-13 04:46:39 +08:00
Commit Graph

18 Commits

Author SHA1 Message Date
Ken Hibino
da0bfa1519 Add test for (*rdb).kill 2019-11-28 07:47:12 -08:00
Ken Hibino
481d3c6b77 Refactor rdb tests 2019-11-28 07:24:52 -08:00
Ken Hibino
e5e3fee742 Add test for (*rdb).remove 2019-11-28 06:50:05 -08:00
Ken Hibino
1617278d86 Rename (*rdb).lrem to (*rdb).remove 2019-11-27 20:05:31 -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
4fd82c5975 Refactor (*rdb).moveAll test 2019-11-26 09:57:53 -08:00
Ken Hibino
cff5e67018 Refactor (*rdb).forward test 2019-11-26 06:38:11 -08:00
Ken Hibino
810c40bd54 Refactor dequeue test 2019-11-25 20:57:53 -08:00
Ken Hibino
faa9b6ee22 Rename (*rdb).push to enqueue 2019-11-25 19:58:24 -08:00
Ken Hibino
737de898eb Refactor rdb_test.go 2019-11-25 19:09:15 -08:00
Ken Hibino
4aa5078dc4 Add (*rdb).forward method using lua script 2019-11-25 07:11:40 -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
80f477212d Add ID field to taskMessage 2019-11-22 06:16:43 -08:00
Ken Hibino
67a9e8aa00 Track in-progress tasks with redis SET 2019-11-21 21:45:27 -08:00
Ken Hibino
dd0b0b358c Add tests for type rdb 2019-11-20 07:01:24 -08:00