custom-expo-updates-server icon indicating copy to clipboard operation
custom-expo-updates-server copied to clipboard

Notice the service is using the Sync FS API

Open export-mike opened this issue 1 year ago • 0 comments

This will block the server responding from other requests, shouldn't this be using the async equivalent apis from fs?

await util.promisify(fs.readFile)(filepath) https://github.com/expo/custom-expo-updates-server/blob/main/expo-updates-server/pages/api/assets.ts#LL63C22-L63C34

export-mike avatar May 15 '23 00:05 export-mike