Skip to content

Commit

Permalink
ops-catalog: add minTxnDuration to two tasks
Browse files Browse the repository at this point in the history
Update the committed specs to reflect what's already in production.
  • Loading branch information
jgraettinger committed Nov 20, 2023
1 parent 3424004 commit 486d8f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ops-catalog/schema-inference.flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ collections:
$fields->>'collection_name' as collection_name,
$fields->'schema' as schema
where $message = 'inferred schema updated';
shards:
minTxnDuration: 10s

# A direct-copy of L1, but enables us to add more L1s
# as we create more data planes.
Expand Down
2 changes: 2 additions & 0 deletions ops-catalog/task-failures.flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ collections:
source: ops.us-central1.v1/logs
readDelay: 48h
lambda: DELETE FROM failures WHERE shard = $name AND ts=$ts; DELETE FROM failure_notifications WHERE shard = $name AND ts=$ts;
shards:
minTxnDuration: 10s
projections:
ts: /ts
task_name: /task_name
Expand Down

0 comments on commit 486d8f3

Please sign in to comment.