Skip to content

Commit

Permalink
fix: disable collecting startup metrics on ipfs
Browse files Browse the repository at this point in the history
  • Loading branch information
solidovic committed Feb 10, 2025
1 parent 354fc1c commit 731d5de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilsApi/metrics/startup-metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export const collectStartupMetrics = async (
registry: Registry,
): Promise<void> => {
// conflicts with HMR
if (config.developmentMode) return;
if (config.developmentMode || config.ipfsMode) return;

collectEnvInfoMetrics(registry);

collectBuildInfoMetrics({
Expand Down

0 comments on commit 731d5de

Please sign in to comment.