Skip to content

Commit

Permalink
Merge pull request #1808 from st1020/fix/heartbeat-task-error
Browse files Browse the repository at this point in the history
fix: heartbeat task error
  • Loading branch information
Bidaya0 authored Sep 13, 2023
2 parents bed072b + 287102d commit 443724c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dongtai_conf/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
Exchange("dongtai-es-save-task"),
routing_key="dongtai-es-save-task",
),
Queue(
"dongtai-update-heartbeat",
Exchange("dongtai-update-heartbeat"),
routing_key="dongtai-update-heartbeat",
),
# cronjob
Queue(
"dongtai-periodic-task",
Expand Down Expand Up @@ -118,6 +123,10 @@
"exchange": "dongtai-es-save-task",
"routing_key": "dongtai-es-save-task",
},
"dongtai_protocol.report.handler.heartbeat_handler.update_heartbeat": {
"exchange": "dongtai-update-heartbeat",
"routing_key": "dongtai-update-heartbeat",
},
# cronjob
"dongtai_engine.tasks.update_agent_status": {
"exchange": "dongtai-periodic-task",
Expand Down

0 comments on commit 443724c

Please sign in to comment.