graph-node
graph-node copied to clipboard
Fix missing trigger if there are both polling and once block handlers
When the subgraph has both the kind: once and kind: polling block handlers, only one of them got triggered at the start block.
blockHandlers:
- handler: handleOnce
filter:
kind: once
- handler: handleBlock
filter:
kind: polling
every: 10
It is because the block matching logic exits early when any one of the polling_intervals matches so the triggers only contain one of them.