mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
feat: add worker sync events
Add a worker sync event so that runtime updates on one worker can propagate across other workers using pubsub for multi worker deployments
This commit is contained in:
parent
56763a4527
commit
03df5595c3
18 changed files with 446 additions and 113 deletions
|
|
@ -103,6 +103,7 @@ class RedisChannel(Enum):
|
|||
"""Redis pub/sub channel names"""
|
||||
|
||||
CAMPAIGN_EVENTS = "campaign_events"
|
||||
WORKER_SYNC = "worker_sync"
|
||||
|
||||
|
||||
class TriggerState(Enum):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue