Skip to content

Commit

Permalink
fix: remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiiBz committed Apr 7, 2023
1 parent 82a32f8 commit 5181bd3
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion crates/serverless/src/serverless.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
4 changes: 2 additions & 2 deletions packages/dashboard/lib/plans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const PERSONAL_PLAN: Plan = {
maxFunctions: 10,
freeRequests: 3000000,
tickTimeout: 200,
totalTimeout: 1000,
totalTimeout: 5000,
organizationMembers: 1,
};

Expand All @@ -26,7 +26,7 @@ export const PRO_PLAN: Plan = {
maxFunctions: 50,
freeRequests: 5000000,
tickTimeout: 500,
totalTimeout: 10000,
totalTimeout: 30000,
organizationMembers: 10,
};

Expand Down
2 changes: 1 addition & 1 deletion packages/dashboard/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/cloud/limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/pages/cloud/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions www/app/pricing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export default function Pricing() {
</tr>
<tr className="border-b border-[#1f1f2e]">
<td className="text-grey mr-8 py-4 text-base">Maximum request duration</td>
<td>1s/request</td>
<td>10s/request</td>
<td>5s/request</td>
<td>30s/request</td>
<td>Custom</td>
</tr>
<tr className="border-b border-[#1f1f2e]">
Expand Down
4 changes: 2 additions & 2 deletions www/lib/components/Plans.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const PLANS: Plan[] = [
features: [
'3,000,000 free requests/month',
`${REGIONS} regions`,
'1s/request',
'5s/request',
'Preview deployments',
'Automatic HTTPS',
'Custom domains',
Expand All @@ -49,7 +49,7 @@ const PLANS: Plan[] = [
features: [
'5,000,000 free requests/month',
'$1/million additional requests',
'10s/request',
'30s/request',
'10 Organization members',
'Everything in Personal',
],
Expand Down

0 comments on commit 5181bd3

Please sign in to comment.