Log app startup time

This commit is contained in:
Josh Perez 2021-01-15 12:30:58 -05:00 committed by Scott Nonnenberg
parent 8a72607fa7
commit bba50c8427
4 changed files with 12 additions and 1 deletions

View file

@ -2118,7 +2118,6 @@ type WhatIsThis = import('./window.d').WhatIsThis;
]);
window.log.info('onEmpty: All outstanding database requests complete');
initialLoadComplete = true;
window.readyForUpdates();
// Start listeners here, after we get through our queue.
@ -2140,6 +2139,7 @@ type WhatIsThis = import('./window.d').WhatIsThis;
clearInterval(interval!);
interval = null;
view.onEmpty();
window.logAppLoadedEvent();
}
}, 500);

1
ts/window.d.ts vendored
View file

@ -493,6 +493,7 @@ declare global {
hasSignalAccount: (number: string) => boolean;
getServerTrustRoot: () => WhatIsThis;
readyForUpdates: () => void;
logAppLoadedEvent: () => void;
// Flags
isGroupCallingEnabled: () => boolean;