Files
mirror-3x-ui/internal
Aleksey Fedorov 5b0cbe6473 fix(backup): give up on a pg_dump that does not finish within an hour (#7089)
exportPostgresDB started pg_dump with context.Background(), so a
PostgreSQL server that accepted the connection and then stopped answering
hung the database download and the scheduled Telegram and Discord
backups forever; SkipIfStillRunning then silently skipped every later
backup run.

pg_dump now runs under a one-hour deadline and the caller gets an error
that names the timeout.
2026-11-24 01:35:53 +03:30
..
2026-10-25 20:08:14 +01:00