Concurrent Function Upgrade for Enhanced Performance (#4918)
Summary: Republishing sanjaiyan-dev's PR https://github.com/facebook/flipper/pull/4889 running `git rebase` because of a conflict. Pull Request resolved: https://github.com/facebook/flipper/pull/4918 Reviewed By: lblasa Differential Revision: D47294545 Pulled By: passy fbshipit-source-id: 74904ec6179ed5a3bab6f9b701c3cd769ecad3bf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c8776175c3
commit
7cef8286f9
@@ -167,6 +167,12 @@ async function getFlipperServer(
|
||||
await shutdown(UDSconnectionURL);
|
||||
}
|
||||
|
||||
const [homePath, tempPath, desktopPath] = await Promise.all([
|
||||
electronIpcClient.send('getPath', 'home'),
|
||||
electronIpcClient.send('getPath', 'temp'),
|
||||
electronIpcClient.send('getPath', 'desktop'),
|
||||
]);
|
||||
|
||||
const getEmbeddedServer = async () => {
|
||||
const server = new FlipperServerImpl(
|
||||
{
|
||||
@@ -175,11 +181,11 @@ async function getFlipperServer(
|
||||
gatekeepers: gatekeepers,
|
||||
paths: {
|
||||
appPath,
|
||||
homePath: await electronIpcClient.send('getPath', 'home'),
|
||||
homePath,
|
||||
execPath,
|
||||
staticPath,
|
||||
tempPath: await electronIpcClient.send('getPath', 'temp'),
|
||||
desktopPath: await electronIpcClient.send('getPath', 'desktop'),
|
||||
tempPath,
|
||||
desktopPath,
|
||||
},
|
||||
launcherSettings: await loadLauncherSettings(),
|
||||
processConfig: loadProcessConfig(env),
|
||||
|
||||
Reference in New Issue
Block a user