-
Notifications
You must be signed in to change notification settings - Fork 17
chore: add maxDuration for /query/<id>
#490
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
Conversation
Signed-off-by: duyet <5009534+duyet@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Reviewer's Guide by SourceryThis pull request adds No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
app/[host]/query/[query_id]/page.tsx:12
- [nitpick] Consider renaming 'maxDuration' to a more descriptive name such as 'queryMaxRenderDuration' to clearly indicate its purpose.
export const maxDuration = 30
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @duyet - I've reviewed your changes - here's some feedback:
Overall Comments:
- It's unusual to set both
revalidate
andmaxDuration
; consider if you need both.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Review instructions: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Bundle ReportChanges will increase total bundle size by 24 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: clickhouse-monitoring-bundle-server-cjsAssets Changed:
view changes for bundle: clickhouse-monitoring-bundle-client-array-pushAssets Changed:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #490 +/- ##
=======================================
Coverage 76.82% 76.82%
=======================================
Files 5 5
Lines 164 164
Branches 60 60
=======================================
Hits 126 126
+ Misses 38 35 -3
- Partials 0 3 +3 ☔ View full report in Codecov by Sentry. |
|
Summary by Sourcery
Modify page revalidation and add maximum duration for query page rendering
Chores: