Skip to content

Commit 486d8f3

Browse files
committed
ops-catalog: add minTxnDuration to two tasks
Update the committed specs to reflect what's already in production.
1 parent 3424004 commit 486d8f3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ops-catalog/schema-inference.flow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ collections:
2828
$fields->>'collection_name' as collection_name,
2929
$fields->'schema' as schema
3030
where $message = 'inferred schema updated';
31+
shards:
32+
minTxnDuration: 10s
3133

3234
# A direct-copy of L1, but enables us to add more L1s
3335
# as we create more data planes.

ops-catalog/task-failures.flow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ collections:
6262
source: ops.us-central1.v1/logs
6363
readDelay: 48h
6464
lambda: DELETE FROM failures WHERE shard = $name AND ts=$ts; DELETE FROM failure_notifications WHERE shard = $name AND ts=$ts;
65+
shards:
66+
minTxnDuration: 10s
6567
projections:
6668
ts: /ts
6769
task_name: /task_name

0 commit comments

Comments
 (0)