Ken Hibino
7ba05e6a78
Update WorkerInfo type
2021-04-14 15:34:26 -07:00
Ken Hibino
c02409c974
Update Inspector to return TaskInfo from list methods
2021-04-14 15:34:26 -07:00
Ken Hibino
57fc8b86e2
Add GetTaskInfo method to Inspector
2021-04-14 15:34:26 -07:00
Ken Hibino
da823fb26a
Remove task key related code
2021-04-14 15:34:26 -07:00
Ken Hibino
56af9f6686
Run task by qname and id
2021-04-14 15:34:26 -07:00
Ken Hibino
4bb67c582d
WIP: Archive task by qname and id
2021-04-14 15:34:26 -07:00
Ken Hibino
9bc80c6216
Allow task deletion by queue name and task ID
2021-04-14 15:34:26 -07:00
Ken Hibino
e9636c7c19
WIP: Track task state under task key
2021-04-14 15:34:26 -07:00
Ken Hibino
12ed810cfc
Define TaskInfo and TaskState
2021-04-14 15:34:26 -07:00
Ken Hibino
a0b52806c9
Refactor redis keys and store messages in protobuf
...
Changes:
- Task messages are stored under "asynq:{<qname>}:t:<task_id>" key in redis, value is a HASH type and message are stored under "msg" key in the hash. The hash also stores "deadline", "timeout".
- Redis LIST and ZSET stores task message IDs
- Task messages are serialized using protocol buffer
2021-04-14 15:31:21 -07:00
Ken Hibino
97b5516183
Update RedisConnOpt interface
2021-01-31 06:09:40 -08:00
Ken Hibino
e13122723a
Move all inspector related code to subpackage inspeq
2021-01-31 06:09:40 -08:00