add max connection and weight calculation

This commit is contained in:
miloschwartz 2025-06-17 15:51:32 -04:00
parent 753307bb99
commit a0001aaa74
No known key found for this signature in database
2 changed files with 38 additions and 12 deletions

View file

@ -162,6 +162,7 @@ export const configSchema = z
gerbil: z
.object({
exit_node_name: z.string().optional(),
max_connections: z.number().positive().gt(0).optional(),
start_port: portSchema
.optional()
.default(51820)