Move rate linmit to file

This commit is contained in:
Owen
2026-08-03 14:34:11 -04:00
parent 81be4a35d9
commit 7f2b3eb481
2 changed files with 24 additions and 5 deletions
+18 -1
View File
@@ -258,7 +258,24 @@ export const configSchema = z
pp_transport_prefix: z
.string()
.optional()
.default("pp-transport-v")
.default("pp-transport-v"),
rate_limit: z
.object({
average: z
.number()
.positive()
.gt(0)
.optional()
.default(10),
burst: z
.number()
.positive()
.gt(0)
.optional()
.default(16)
})
.optional()
.prefault({})
})
.optional()
.prefault({}),