Skip to content
Source
Sign inSign up
pingdotgg/t3code

perf(mobile): faster thread sync, connects, and reconnects on bad wifi #28487

MergedBil0000(GitHub profile, opens in a new tab)merged 18 commits intomain fromrefs/pull/28487/headmerged by juliusmarminge View on GitHub

Showing 14 changed files with 13 additions and 4 deletions (loading 11).

x
0 of 14 viewed, 14 left
5 additions and 1 deletionapps/mobile/src/connection/runtime.tsModified
View file
@@ -36,7 +36,11 @@
​
const layerProvidedClientConnection = layerSnapshotLoader.pipe(
Layer.provideMerge(
- Connection.layerWithOptions({ usageLimitSources: true, usageLimitsCommand: true }),
+ Connection.layerWithOptions({
+ usageLimitSources: true,
+ usageLimitsCommand: true,
+ providerCatalogsOnDemand: true,
+ }),
),
Layer.provideMerge(
Layer.mergeAll(
1 addition and 0 deletionsapps/mobile/src/state/server.tsModified
View file
@@ -13,6 +13,7 @@
initialConfigValueAtom: environmentSession.initialConfigValueAtom,
usageLimitSources: true,
usageLimitsCommand: true,
+ providerCatalogsOnDemand: true,
});
export const describeOutdatedServer = createOutdatedServerDescriptionCommand(connectionAtomRuntime);
export const updateOutdatedServer = createOutdatedServerUpdateCommand(connectionAtomRuntime);
7 additions and 3 deletionsapps/server/src/terminal/OutputProtocol.test.tsModified
View file
@@ -1,5 +1,6 @@
import { assert, describe, it } from "@effect/vitest";