Nick: etier2c
Some checks are pending
Deploy Images to GHCR / push-app-image (push) Waiting to run

This commit is contained in:
Nicolas 2024-10-29 21:01:43 -03:00
parent 0b409d7609
commit 96c579f1cd
4 changed files with 11 additions and 0 deletions

View File

@ -358,6 +358,8 @@ function getPlanByPriceId(price_id: string): PlanType {
return "growth";
case process.env.STRIPE_PRICE_ID_GROWTH_DOUBLE_MONTHLY:
return "growthdouble";
case process.env.STRIPE_PRICE_ID_ETIER2C:
return "etier2c";
default:
return "free";
}

View File

@ -70,6 +70,10 @@ export async function getJobPriority({
bucketLimit = 400;
planModifier = 0.1;
break;
case "etier2c":
bucketLimit = 1000;
planModifier = 0.05;
break;
default:
bucketLimit = 25;

View File

@ -15,6 +15,7 @@ const RATE_LIMITS = {
standardnew: 10,
growth: 50,
growthdouble: 50,
etier2c: 300,
},
scrape: {
default: 20,
@ -28,6 +29,7 @@ const RATE_LIMITS = {
standardnew: 100,
growth: 1000,
growthdouble: 1000,
etier2c: 2500,
},
search: {
default: 20,
@ -41,6 +43,7 @@ const RATE_LIMITS = {
standardnew: 50,
growth: 500,
growthdouble: 500,
etier2c: 2500,
},
map:{
default: 20,
@ -54,6 +57,7 @@ const RATE_LIMITS = {
standardnew: 50,
growth: 500,
growthdouble: 500,
etier2c: 2500,
},
preview: {
free: 5,

View File

@ -157,6 +157,7 @@ export type PlanType =
| "standardnew"
| "growth"
| "growthdouble"
| "etier2c"
| "free"
| "";