Add ping; working on newt tunnel reliability

This commit is contained in:
Owen
2025-04-13 17:27:53 -04:00
parent 8398f7b7c0
commit b7ae712b63
7 changed files with 114 additions and 30 deletions

View File

@@ -153,6 +153,7 @@ export const clients = sqliteTable("clients", {
megabytesIn: integer("bytesIn"),
megabytesOut: integer("bytesOut"),
lastBandwidthUpdate: text("lastBandwidthUpdate"),
lastPing: text("lastPing"),
type: text("type").notNull(), // "olm"
online: integer("online", { mode: "boolean" }).notNull().default(false),
endpoint: text("endpoint"),