Skip to content

Commit

Permalink
fix: dynamic storage info slow on windows (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor333Huesca committed Jan 6, 2024
1 parent 604cd6a commit 64655f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/data/storage/dynamic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class DynamicStorageMapper {

export default async (): Promise<StorageLoad> => {
const svInfo = getStaticServerInfo();
const [blocks, sizes] = await Promise.all([si.blockDevices(), si.fsSize()]);
const [sizes, blocks] = await Promise.all([si.fsSize(), si.blockDevices()]);

return new DynamicStorageMapper(
PLATFORM_IS_WINDOWS,
Expand Down

0 comments on commit 64655f1

Please sign in to comment.