mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
This commit is contained in:
parent
0b409d7609
commit
96c579f1cd
|
@ -358,6 +358,8 @@ function getPlanByPriceId(price_id: string): PlanType {
|
||||||
return "growth";
|
return "growth";
|
||||||
case process.env.STRIPE_PRICE_ID_GROWTH_DOUBLE_MONTHLY:
|
case process.env.STRIPE_PRICE_ID_GROWTH_DOUBLE_MONTHLY:
|
||||||
return "growthdouble";
|
return "growthdouble";
|
||||||
|
case process.env.STRIPE_PRICE_ID_ETIER2C:
|
||||||
|
return "etier2c";
|
||||||
default:
|
default:
|
||||||
return "free";
|
return "free";
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,6 +70,10 @@ export async function getJobPriority({
|
||||||
bucketLimit = 400;
|
bucketLimit = 400;
|
||||||
planModifier = 0.1;
|
planModifier = 0.1;
|
||||||
break;
|
break;
|
||||||
|
case "etier2c":
|
||||||
|
bucketLimit = 1000;
|
||||||
|
planModifier = 0.05;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
bucketLimit = 25;
|
bucketLimit = 25;
|
||||||
|
|
|
@ -15,6 +15,7 @@ const RATE_LIMITS = {
|
||||||
standardnew: 10,
|
standardnew: 10,
|
||||||
growth: 50,
|
growth: 50,
|
||||||
growthdouble: 50,
|
growthdouble: 50,
|
||||||
|
etier2c: 300,
|
||||||
},
|
},
|
||||||
scrape: {
|
scrape: {
|
||||||
default: 20,
|
default: 20,
|
||||||
|
@ -28,6 +29,7 @@ const RATE_LIMITS = {
|
||||||
standardnew: 100,
|
standardnew: 100,
|
||||||
growth: 1000,
|
growth: 1000,
|
||||||
growthdouble: 1000,
|
growthdouble: 1000,
|
||||||
|
etier2c: 2500,
|
||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
default: 20,
|
default: 20,
|
||||||
|
@ -41,6 +43,7 @@ const RATE_LIMITS = {
|
||||||
standardnew: 50,
|
standardnew: 50,
|
||||||
growth: 500,
|
growth: 500,
|
||||||
growthdouble: 500,
|
growthdouble: 500,
|
||||||
|
etier2c: 2500,
|
||||||
},
|
},
|
||||||
map:{
|
map:{
|
||||||
default: 20,
|
default: 20,
|
||||||
|
@ -54,6 +57,7 @@ const RATE_LIMITS = {
|
||||||
standardnew: 50,
|
standardnew: 50,
|
||||||
growth: 500,
|
growth: 500,
|
||||||
growthdouble: 500,
|
growthdouble: 500,
|
||||||
|
etier2c: 2500,
|
||||||
},
|
},
|
||||||
preview: {
|
preview: {
|
||||||
free: 5,
|
free: 5,
|
||||||
|
|
|
@ -157,6 +157,7 @@ export type PlanType =
|
||||||
| "standardnew"
|
| "standardnew"
|
||||||
| "growth"
|
| "growth"
|
||||||
| "growthdouble"
|
| "growthdouble"
|
||||||
|
| "etier2c"
|
||||||
| "free"
|
| "free"
|
||||||
| "";
|
| "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user