2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-25 23:32:17 +08:00
asynq/internal
Ken Hibino b9c2572203 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-29 16:34:21 -07:00
..
asynqtest Add TaskState type to base package 2021-06-29 16:34:21 -07:00
base Add TaskState type to base package 2021-06-29 16:34:21 -07:00
errors Update RDB.EnqueueUnique and RDB.ScheduleUnique with specific errors 2021-06-29 16:34:21 -07:00
log Change LogLevel to satisfy flag.Value interface 2020-05-16 08:00:35 -07:00
proto Refactor redis keys and store messages in protobuf 2021-06-29 16:34:21 -07:00
rdb Refactor redis keys and store messages in protobuf 2021-06-29 16:34:21 -07:00
testbroker Refactor redis keys and store messages in protobuf 2021-06-29 16:34:21 -07:00