diff --git a/crates/serverless/src/serverless.rs b/crates/serverless/src/serverless.rs index 27bb33e28..a3a047ea3 100644 --- a/crates/serverless/src/serverless.rs +++ b/crates/serverless/src/serverless.rs @@ -165,7 +165,6 @@ async fn handle_request( .unwrap_or(()); } else { last_requests.insert(deployment_id.clone(), Instant::now()); - println!("isoslate req"); match Request::from_hyper_with_capacity(req, 2).await { Ok(mut request) => { diff --git a/packages/dashboard/lib/plans.ts b/packages/dashboard/lib/plans.ts index e1d63cc28..fcf50dbab 100644 --- a/packages/dashboard/lib/plans.ts +++ b/packages/dashboard/lib/plans.ts @@ -15,7 +15,7 @@ export const PERSONAL_PLAN: Plan = { maxFunctions: 10, freeRequests: 3000000, tickTimeout: 200, - totalTimeout: 1000, + totalTimeout: 5000, organizationMembers: 1, }; @@ -26,7 +26,7 @@ export const PRO_PLAN: Plan = { maxFunctions: 50, freeRequests: 5000000, tickTimeout: 500, - totalTimeout: 10000, + totalTimeout: 30000, organizationMembers: 10, }; diff --git a/packages/dashboard/prisma/schema.prisma b/packages/dashboard/prisma/schema.prisma index a745f9404..e2c0b4511 100644 --- a/packages/dashboard/prisma/schema.prisma +++ b/packages/dashboard/prisma/schema.prisma @@ -102,7 +102,7 @@ model Function { cron String? organizationId String cronRegion String @default("paris-eu-west") - totalTimeout Int @default(1000) + totalTimeout Int @default(5000) organization Organization @relation(fields: [organizationId], references: [id]) domains Domain[] env EnvVariable[] diff --git a/packages/docs/pages/cloud/limits.mdx b/packages/docs/pages/cloud/limits.mdx index 3fcf48367..03feacfc5 100644 --- a/packages/docs/pages/cloud/limits.mdx +++ b/packages/docs/pages/cloud/limits.mdx @@ -28,7 +28,7 @@ Below are the limits for each plan: | Assets | 100 | 100 | Custom | | Assets size | 10MB | 10MB | Custom | | Memory | 128MB | 128MB | Up to 1GB | -| Maximum request duration | 1s | 10s | Custom | +| Maximum request duration | 5s | 30s | Custom | | Custom domains | 10 | 10 | Custom | | Environment variables | 100 | 100 | Custom | | Env. var. key length | 64 characters | 64 characters | Custom | diff --git a/packages/docs/pages/cloud/pricing.mdx b/packages/docs/pages/cloud/pricing.mdx index c44016ed7..a5d1bd716 100644 --- a/packages/docs/pages/cloud/pricing.mdx +++ b/packages/docs/pages/cloud/pricing.mdx @@ -6,7 +6,7 @@ Perfect for side projects and personal use, this plan is **free** and includes 3 You also get access to the following features: -- 1s of execution per request +- 5s of execution per request - Preview and Production deployments - Automatic HTTPS - Custom domains @@ -18,7 +18,7 @@ Made for startups and small teams, this plan starts at **$10/month** and include You get access to all of the features in the Personal plan, plus: -- 10s of execution per request +- 30s of execution per request - Organization members - Up to 50 Functions diff --git a/www/app/pricing/page.tsx b/www/app/pricing/page.tsx index 38cf58593..fe6ee9ce5 100644 --- a/www/app/pricing/page.tsx +++ b/www/app/pricing/page.tsx @@ -42,8 +42,8 @@ export default function Pricing() {