mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-11 20:58:59 +08:00
Nick: adjust for old compatibility s2
This commit is contained in:
parent
a4cf8f439c
commit
ce9d3d32f6
@ -393,6 +393,9 @@ function getPlanByPriceId(price_id: string | null): PlanType {
|
||||
case process.env.STRIPE_PRICE_ID_EXTRACT_STARTER_MONTHLY:
|
||||
case process.env.STRIPE_PRICE_ID_EXTRACT_STARTER_YEARLY:
|
||||
return "extract_starter";
|
||||
case process.env.STRIPE_PRICE_ID_ETIER_SCALE_2_MONTHLY:
|
||||
case process.env.STRIPE_PRICE_ID_ETIER_SCALE_2_YEARLY:
|
||||
return "etierscale2";
|
||||
case process.env.STRIPE_PRICE_ID_EXTRACT_EXPLORER_MONTHLY:
|
||||
case process.env.STRIPE_PRICE_ID_EXTRACT_EXPLORER_YEARLY:
|
||||
return "extract_explorer";
|
||||
|
@ -16,6 +16,7 @@ export const CONCURRENCY_LIMIT: Omit<Record<PlanType, number>, ""> = {
|
||||
etier1a: 200,
|
||||
etier2a: 300,
|
||||
etierscale1: 150,
|
||||
etierscale2: 200,
|
||||
testSuite: 200,
|
||||
devB: 120,
|
||||
etier2d: 250,
|
||||
@ -42,6 +43,7 @@ const RATE_LIMITS = {
|
||||
etier1a: 1000,
|
||||
etier2a: 300,
|
||||
etierscale1: 150,
|
||||
etierscale2: 300,
|
||||
// extract ops
|
||||
extract_starter: 20,
|
||||
extract_explorer: 100,
|
||||
@ -63,6 +65,7 @@ const RATE_LIMITS = {
|
||||
etier1a: 1000,
|
||||
etier2a: 2500,
|
||||
etierscale1: 1500,
|
||||
etierscale2: 2500,
|
||||
// extract ops
|
||||
extract_starter: 20,
|
||||
extract_explorer: 100,
|
||||
@ -84,6 +87,7 @@ const RATE_LIMITS = {
|
||||
etier1a: 1000,
|
||||
etier2a: 2500,
|
||||
etierscale1: 1500,
|
||||
etierscale2: 2500,
|
||||
// extract ops
|
||||
extract_starter: 20,
|
||||
extract_explorer: 100,
|
||||
@ -105,6 +109,7 @@ const RATE_LIMITS = {
|
||||
etier1a: 1000,
|
||||
etier2a: 2500,
|
||||
etierscale1: 1500,
|
||||
etierscale2: 2500,
|
||||
// extract ops
|
||||
extract_starter: 20,
|
||||
extract_explorer: 100,
|
||||
@ -126,6 +131,7 @@ const RATE_LIMITS = {
|
||||
etier1a: 1000,
|
||||
etier2a: 1000,
|
||||
etierscale1: 1000,
|
||||
etierscale2: 1000,
|
||||
extract_starter: 20,
|
||||
extract_explorer: 100,
|
||||
extract_pro: 1000,
|
||||
|
@ -188,6 +188,7 @@ export type PlanType =
|
||||
| "etier2c"
|
||||
| "etier1a"
|
||||
| "etierscale1"
|
||||
| "etierscale2"
|
||||
| "etier2a"
|
||||
| "free"
|
||||
| "testSuite"
|
||||
|
Loading…
x
Reference in New Issue
Block a user