mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Nick:
This commit is contained in:
parent
629da74a5c
commit
e78d2af1f0
|
@ -268,7 +268,7 @@ export async function supaAuthenticateUser(
|
|||
|
||||
return {
|
||||
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,
|
||||
};
|
||||
}
|
||||
|
|
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