Move launch further down, temporarily
Summary: Attempt to fix an ongoing issue whereas there's a race condition generating certificates Reviewed By: passy Differential Revision: D49237915 fbshipit-source-id: 2383b20cb6ba786166d5e70206b5fff846ed1211
This commit is contained in:
committed by
Facebook GitHub Bot
parent
58c891b1d2
commit
cf599f9c3c
@@ -235,9 +235,6 @@ async function start() {
|
||||
`[flipper-server][bootstrap] FlipperServer created (${serverCreatedMS} ms)`,
|
||||
);
|
||||
|
||||
// At this point, the HTTP server is ready and configuration is set.
|
||||
await launch();
|
||||
|
||||
const t6 = performance.now();
|
||||
const launchedMS = t6 - t5;
|
||||
|
||||
@@ -266,6 +263,9 @@ async function start() {
|
||||
}
|
||||
await flipperServer.connect();
|
||||
|
||||
// At this point, the HTTP server is ready and configuration is set.
|
||||
await launch();
|
||||
|
||||
const t8 = performance.now();
|
||||
const appServerStartedMS = t8 - t7;
|
||||
console.info(
|
||||
|
||||
Reference in New Issue
Block a user