fix(daemon): record terminal non-dispatch outcomes so a capture is evaluated once
This commit is contained in:
1 parent
e302103e78
commit
79f005bd28
12 files changed
+127
-16
No files matched your search
@@ -0,0 +1,11 @@
|
||||
-- binding_dispatches.reason says why an evaluated capture did not start a
|
||||
-- task; empty means it dispatched. Recording terminal non-dispatch outcomes
|
||||
-- keeps the capture from being re-evaluated every cycle.
|
||||
|
||||
-- +goose Up
|
||||
|
||||
ALTER TABLE binding_dispatches ADD COLUMN reason text NOT NULL DEFAULT '';
|
||||
|
||||
-- +goose Down
|
||||
|
||||
ALTER TABLE binding_dispatches DROP COLUMN reason;
|
||||
Reference in new issue
Block a user