Skip to content

Commit 155902f

Browse files
committed
chore: update notifier readme
1 parent 6a92ed7 commit 155902f

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

workers/notifier/README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,9 @@ Handles new events from Grouper Worker, holds it and sends to sender worlers
1616
-> receive task
1717
-> get project notification rules
1818
-> filter rules
19-
-> check channel timer
20-
a) if timer doesn't exist
21-
-> send tasks to sender workers
22-
-> set timeout for minPeriod
23-
b) if timer exists
24-
-> push event to channel's buffer
25-
26-
2) On timeout
27-
-> get events from channel's buffer
28-
-> flush channel's buffer
29-
-> send tasks to sender workers
19+
-> update redis keys
20+
-> get updated eventCount based on groupHash, ruleId and projectId
21+
-> send notification if eventCount == treshold
3022
```
3123

3224
### Event example

0 commit comments

Comments
 (0)