Skip to content

FIX: client portal crashing on beta app when validate count function takes more than 15 seconds. #1115

Open
arpandhakal wants to merge 1 commit intofeature/template-dynamic-fieldsfrom
chore/max-duration-on-client-page
Open

FIX: client portal crashing on beta app when validate count function takes more than 15 seconds. #1115
arpandhakal wants to merge 1 commit intofeature/template-dynamic-fieldsfrom
chore/max-duration-on-client-page

Conversation

@arpandhakal
Copy link
Copy Markdown
Collaborator

Changes

  • increased the max duration of client page just in case where validate-notificaiton job takes more than 15 seconds

@arpandhakal arpandhakal requested a review from rrojan January 29, 2026 12:09
@arpandhakal arpandhakal self-assigned this Jan 29, 2026
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tasks-app Ready Ready Preview, Comment Mar 31, 2026 9:07am

Request Review

…alidate-notificaiton job takes more than 15 seconds
@arpandhakal arpandhakal force-pushed the chore/max-duration-on-client-page branch from 60aec67 to d1bc805 Compare March 31, 2026 09:05
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 31, 2026

Deployment failed with the following error:

Deploying Serverless Functions to multiple regions is restricted to the Pro and Enterprise plans.

Learn More: https://vercel.link/multiple-function-regions

@arpandhakal arpandhakal changed the base branch from main to feature/template-dynamic-fields March 31, 2026 09:05
import { Suspense } from 'react'
import { z } from 'zod'

export const maxDuration = 60 //just to be safe. the validate count job might take longer that 15 seconds(default max duration of server components) which will make the app crash. Increasing the duration to 60.
Copy link
Copy Markdown
Collaborator

@SandipBajracharya SandipBajracharya Apr 1, 2026

Choose a reason for hiding this comment

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

Are we sure this gets resolved in a min? Otherwise we can actually update it to more than a minute if needed.

Copy link
Copy Markdown
Collaborator

@SandipBajracharya SandipBajracharya left a comment

Choose a reason for hiding this comment

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

lgtm

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.

2 participants