Skip to content

Commit 9d21907

Browse files
refactor(server): name the managed tunnel recovery constructor span
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 6823053 commit 9d21907

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/server/src/cloud/managedTunnelStartup.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,11 @@ export const MANAGED_TUNNEL_FIRST_REGISTRATION_JITTER = Duration.seconds(30);
172172
* Runs one recovery per request, one at a time: waits out the current
173173
* cooldown, then calls the relay, retrying it while it stays unavailable.
174174
*/
175-
export const makeManagedTunnelRecovery = Effect.fnUntraced(function* <A, E, R>(options: {
175+
export const makeManagedTunnelRecovery = Effect.fn("ManagedTunnelRecovery.make")(function* <
176+
A,
177+
E,
178+
R,
179+
>(options: {
176180
readonly recover: (config: RelayManagedEndpointRuntimeConfig) => Effect.Effect<A, E, R>;
177181
readonly isRetryable: (error: E) => boolean;
178182
}) {

0 commit comments

Comments
 (0)