-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env.example
More file actions
43 lines (40 loc) · 1.87 KB
/
.env.example
File metadata and controls
43 lines (40 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# ============================================================================
# REQUIRED: Clerk Secret Key
# ============================================================================
# Get your secret key from the Clerk Dashboard: https://dashboard.clerk.com
# Format: sk_test_... (development) or sk_live_... (production)
CLERK_SECRET_KEY=sk_
# ============================================================================
# OPTIONAL: Rate Limit Override
# ============================================================================
# Rate limit in requests per second for user creation
#
# Auto-configured based on your CLERK_SECRET_KEY:
# - Production (sk_live_*): 100 requests/second (Clerk limit: 1000 req/10s)
# - Development (sk_test_*): 10 requests/second (Clerk limit: 100 req/10s)
#
# Only set this if you need to reduce the rate for safety or testing, or if
# have a rate limit exception and can increase the speed
# Example: RATE_LIMIT=50
# RATE_LIMIT=
# ============================================================================
# OPTIONAL: Concurrency Limit Override
# ============================================================================
# Number of concurrent API requests during migration/deletion
#
# Auto-calculated to achieve ~95% of rate limit (assumes 100ms API latency):
# - Production (100 req/s): 9 concurrent = ~90-95 req/s throughput
# - Development (10 req/s): 1 concurrent = ~9-10 req/s throughput
#
# Increase this value if:
# - Your API responses are slower (>100ms) and you want faster throughput
# - You want to process users faster (higher concurrency = faster, but may hit rate limits)
#
# Decrease this value if:
# - You're hitting rate limits (429 errors)
# - You want to be more conservative
#
# Examples:
# - CONCURRENCY_LIMIT=15 (faster, ~150 req/s, may hit some rate limits)
# - CONCURRENCY_LIMIT=5 (slower, ~50 req/s, very safe)
# CONCURRENCY_LIMIT=