improve loading speed by stop waiting for outgoing request completion

This commit is contained in:
Ajay Bura 2026-08-26 10:33:33 +05:30
commit 8e917d82e9

View file

@ -55,7 +55,8 @@ export const initializeClient = async (session: Session): Promise<InitializeClie
session,
requestAuthJSON
);
await machine.outgoingRequests.processAll();
// awaiting on this request can slow down the loading perf if server is busy.
machine.outgoingRequests.processAll();
const state = await createStateContext(storage, disposer);