This commit is contained in:
Nicolas 2024-08-21 21:51:54 -03:00
parent 629da74a5c
commit e78d2af1f0
2 changed files with 28 additions and 1 deletions

View File

@ -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
View 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'