Ken Hibino
a8a636ec4a
Replace ArchiveTaskByKey with ArchiveTask in Inspector
2021-06-07 16:19:12 -07:00
Ken Hibino
95f8b1f4ee
Replace DeleteTaskByKey with DeleteTask in Inspector
2021-06-07 16:18:38 -07:00
Ken Hibino
55a8ef036e
Replace RunTaskByKey with RunTask in Inspector
2021-06-07 16:18:19 -07:00
Ken Hibino
9e5f39fa3a
Fix build
2021-06-07 16:13:59 -07:00
Ken Hibino
4d2ff9e375
Rename error types
2021-06-07 16:13:58 -07:00
Ken Hibino
69aa071632
Update RDB.RunTask with task state
2021-06-07 16:13:58 -07:00
Ken Hibino
585e7fdd53
Change payload to byte slice
2021-06-07 16:13:58 -07:00
Ken Hibino
5f61566284
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-06-07 16:13:55 -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