File tree Expand file tree Collapse file tree
packages/client-runtime/src/connection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1004,7 +1004,7 @@ describe("EnvironmentSupervisor", () => {
10041004 const harness = yield * makeHarness ( {
10051005 probe : ( attempt ) => ( attempt === 1 ? Effect . never : Effect . void ) ,
10061006 } ) ;
1007- const supervisor = yield * EnvironmentSupervisor . make ( TARGET_ENTRY , {
1007+ const supervisor = yield * EnvironmentSupervisor . make ( LAN_ENTRY , {
10081008 initiallyDesired : true ,
10091009 } ) . pipe ( Effect . provide ( harness . dependencies ) ) ;
10101010
Original file line number Diff line number Diff line change @@ -283,9 +283,9 @@ export const make = Effect.fn("EnvironmentSupervisor.make")(function* (
283283 const connectivity = yield * Connectivity . Connectivity ;
284284 const driver = yield * ConnectionDriver . ConnectionDriver ;
285285 const wakeups = yield * ConnectionWakeups . ConnectionWakeups ;
286- // The primary environment served this client, so the device reporting
287- // offline (often wrongly) never parks it. The report still probes its live
288- // session, like any other network change.
286+ // The primary environment served this client or runs beside it on loopback,
287+ // so the device reporting offline (often wrongly) never parks it. The report
288+ // still probes its live session, like any other network change.
289289 const targetNetwork = ( network : NetworkStatus ) : NetworkStatus =>
290290 network === "offline" && target . _tag === "PrimaryConnectionTarget" ? "unknown" : network ;
291291 const initialIntent : SupervisorIntent = {
You can’t perform that action at this time.
0 commit comments