Skip to content

Commit

Permalink
Make slow-log to info level
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarvelle committed Oct 28, 2024
1 parent 0d0ad52 commit a026cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function createFetch(options: { cache: IKeyValueCache; disableCac
const response = await nodeFetch(url, requestInit);
const elapsedTime = performance.now() - startTime;
if (elapsedTime > slowLogTimeout) {
getLogger().warn(
getLogger().info(
`Fetching '${url}' took ${elapsedTime.toFixed(
2,
)}ms which is slower than slow log timeout of ${slowLogTimeout}ms`,
Expand Down

0 comments on commit a026cab

Please # to comment.