Skip to content

Commit 015a47d

Browse files
fix(relay): provide cron layers in a single call
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 0abcc09 commit 015a47d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎infra/relay/src/worker.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,8 @@ export const ApiLive = Api.make(
360360
{ concurrency: 2, discard: true },
361361
).pipe(
362362
Effect.withSpan("relay.cron.prune_expired_state"),
363-
Effect.provide(runtimeLayer),
364363
// Export cron spans to Axiom like HTTP spans; the scope flushes them before the run ends.
365-
Effect.provide(relayTraceLayer),
364+
Effect.provide(Layer.merge(runtimeLayer, relayTraceLayer)),
366365
),
367366
);
368367

0 commit comments

Comments
 (0)