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
dc275c4612
Change payload to byte slice
2021-04-14 15:31:22 -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
efe197a47b
Use db13 for inspeq package testing
2021-01-31 06:09:40 -08:00
Ken Hibino
97b5516183
Update RedisConnOpt interface
2021-01-31 06:09:40 -08:00
Ken Hibino
8eafa03ca7
Fix doc indentation
2021-01-31 06:09:40 -08:00
Ken Hibino
14c381dc40
Update documentation for inspeq package
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