Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: load functions timeout from site properly #6777

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

biilmann
Copy link
Member

@biilmann biilmann commented Aug 5, 2024

🎉 Thanks for submitting a pull request! 🎉

Summary

Fixes #6125

When a site has a custom timelimit for functions, its exposed as function_timelimit directly on the site object returned from the API. The current CLI code always tries to read it from the generic function_config hash if one is present.


A picture of a cute animal (not mandatory, but encouraged)

99676c72-5a6c-48b1-891a-373ceac143f1 (1)

@biilmann biilmann requested a review from a team as a code owner August 5, 2024 04:39
Copy link

github-actions bot commented Aug 5, 2024

📊 Benchmark results

Comparing with 5b40ba8

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

Copy link
Contributor

@khendrikse khendrikse left a comment

Choose a reason for hiding this comment

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

Looks good! Also, good panda

@khendrikse khendrikse merged commit 7feeceb into main Aug 5, 2024
48 checks passed
@khendrikse khendrikse deleted the fix-site-function-timouts branch August 5, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make function timeout editable OR inherit from linked site
2 participants