feat(federation): add last_probe_at/probe_attempts columns for peer recovery pacing

This commit is contained in:
Jannis Braun
2026-06-26 13:41:29 +02:00
parent 00a2876e96
commit bafc7fbb47
4 changed files with 3689 additions and 0 deletions
+2
View File
@@ -370,6 +370,8 @@ export const federationPeers = sqliteTable('federation_peers', {
lastFailureAt: integer('last_failure_at'),
consecutiveFailures: integer('consecutive_failures').notNull().default(0),
consecutiveAuthFailures: integer('consecutive_auth_failures').notNull().default(0),
lastProbeAt: integer('last_probe_at'),
probeAttempts: integer('probe_attempts').notNull().default(0),
lastSyncedAt: integer('last_synced_at').default(0),
remoteMaxUploadSize: integer('remote_max_upload_size'),
nonceSupported: integer('nonce_supported').notNull().default(0),