improve loading speed by stop waiting for outgoing request completion
This commit is contained in:
parent
869de1418a
commit
8e917d82e9
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue