Skip to content

Commit a0d0d19

Browse files
committed
a couple tweaks
1 parent 0ee90f7 commit a0d0d19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/webapp/app/env.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ const EnvironmentSchema = z
541541
// 2-phase batch API settings
542542
STREAMING_BATCH_MAX_ITEMS: z.coerce.number().int().default(1_000), // Max items in streaming batch
543543
STREAMING_BATCH_ITEM_MAXIMUM_SIZE: z.coerce.number().int().default(3_145_728),
544-
BATCH_RATE_LIMIT_REFILL_RATE: z.coerce.number().int().default(10),
544+
BATCH_RATE_LIMIT_REFILL_RATE: z.coerce.number().int().default(100),
545545
BATCH_RATE_LIMIT_MAX: z.coerce.number().int().default(1200),
546546
BATCH_RATE_LIMIT_REFILL_INTERVAL: z.string().default("10s"),
547547
BATCH_CONCURRENCY_LIMIT_DEFAULT: z.coerce.number().int().default(10),

apps/webapp/app/routes/api.v2.tasks.batch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const { action, loader } = createActionApiRoute(
110110
? { traceparent, tracestate }
111111
: { external: { traceparent, tracestate } };
112112

113-
// Note: SDK v4.1+ uses the 2-phase batch API (POST /api/v3/batches + streaming items)
113+
// Note: SDK v4.3+ uses the 2-phase batch API (POST /api/v3/batches + streaming items)
114114
// This endpoint is for backwards compatibility with older SDK versions
115115
const service = new RunEngineBatchTriggerService(batchProcessingStrategy ?? undefined);
116116

0 commit comments

Comments
 (0)