mirror of
https://github.com/hibiken/asynq.git
synced 2024-11-10 11:31:58 +08:00
7af3981929
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
7 lines
293 B
Makefile
7 lines
293 B
Makefile
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
|
|
|
proto: internal/proto/asynq.proto
|
|
protoc -I=$(ROOT_DIR)/internal/proto \
|
|
--go_out=$(ROOT_DIR)/internal/proto \
|
|
--go_opt=module=github.com/hibiken/asynq/internal/proto \
|
|
$(ROOT_DIR)/internal/proto/asynq.proto
|