mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Merge branch 'main' into nsc/job-priority
This commit is contained in:
commit
6bdb1d045d
|
@ -269,7 +269,7 @@ export async function supaAuthenticateUser(
|
||||||
|
|
||||||
return {
|
return {
|
||||||
success: false,
|
success: false,
|
||||||
error: `Rate limit exceeded. Consumed points: ${rateLimiterRes.consumedPoints}, Remaining points: ${rateLimiterRes.remainingPoints}. Upgrade your plan at https://firecrawl.dev/pricing for increased rate limits or please retry after ${secs}s, resets at ${retryDate}`,
|
error: `Rate limit exceeded. Consumed (req/min): ${rateLimiterRes.consumedPoints}, Remaining (req/min): ${rateLimiterRes.remainingPoints}. Upgrade your plan at https://firecrawl.dev/pricing for increased rate limits or please retry after ${secs}s, resets at ${retryDate}`,
|
||||||
status: 429,
|
status: 429,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
27
apps/dragonfly/fly.toml
Normal file
27
apps/dragonfly/fly.toml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
app = 'firecrawl-dragonfly'
|
||||||
|
primary_region = 'iad'
|
||||||
|
|
||||||
|
[experimental]
|
||||||
|
cmd = ['dragonfly','--logtostderr', '--cluster_mode=emulated', '--lock_on_hashtags', "--bind","::"]
|
||||||
|
[build]
|
||||||
|
image = 'ghcr.io/dragonflydb/dragonfly'
|
||||||
|
|
||||||
|
[[mounts]]
|
||||||
|
source = 'firecrawl_dragonfly'
|
||||||
|
destination = '/data'
|
||||||
|
|
||||||
|
[[services]]
|
||||||
|
protocol = 'tcp'
|
||||||
|
internal_port = 6379
|
||||||
|
|
||||||
|
[[services.tcp_checks]]
|
||||||
|
interval = '10s'
|
||||||
|
timeout = '2s'
|
||||||
|
|
||||||
|
[[vm]]
|
||||||
|
size = 'performance-4x'
|
||||||
|
memory = '32gb'
|
||||||
|
|
||||||
|
[[metrics]]
|
||||||
|
port = 9091
|
||||||
|
path = '/metrics'
|
Loading…
Reference in New Issue
Block a user