Skip to content

Commit

Permalink
fix: load functions timeout from site properly (#6777)
Browse files Browse the repository at this point in the history
  • Loading branch information
biilmann committed Aug 5, 2024
1 parent 5b40ba8 commit 7feeceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const getSiteInformation = async ({ api, offline, site, siteInfo }) => {
backgroundFunctions: supportsBackgroundFunctions(account),
},
timeouts: {
syncFunctions: siteInfo.functions_config?.timeout ?? SYNCHRONOUS_FUNCTION_TIMEOUT,
syncFunctions: siteInfo.functions_timeout ?? siteInfo.functions_config?.timeout ?? SYNCHRONOUS_FUNCTION_TIMEOUT,
backgroundFunctions: BACKGROUND_FUNCTION_TIMEOUT,
},
}
Expand Down

1 comment on commit 7feeceb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,221
  • Package size: 313 MB
  • Number of ts-expect-error directives: 977

Please sign in to comment.