Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Nick:

Nicolase78d2af1f09a
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index 9d46d0054..3b862c48d 100644
--- a/apps/api/src/controllers/auth.ts
+++ b/apps/api/src/controllers/auth.ts
@@ -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,
};
}
diff --git a/apps/dragonfly/fly.toml b/apps/dragonfly/fly.toml
new file mode 100644
index 000000000..14bdbd96b
--- /dev/null
+++ b/apps/dragonfly/fly.toml
@@ -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'