move max connections from config to db

This commit is contained in:
miloschwartz 2025-06-17 15:53:57 -04:00
parent a0001aaa74
commit 21e9edd201
No known key found for this signature in database
4 changed files with 6 additions and 5 deletions

View file

@ -117,7 +117,8 @@ export const exitNodes = sqliteTable("exitNodes", {
endpoint: text("endpoint").notNull(), // this is how to reach gerbil externally - gets put into the wireguard config
publicKey: text("publicKey").notNull(),
listenPort: integer("listenPort").notNull(),
reachableAt: text("reachableAt") // this is the internal address of the gerbil http server for command control
reachableAt: text("reachableAt"), // this is the internal address of the gerbil http server for command control
maxConnections: integer("maxConnections")
});
export const users = sqliteTable("user", {