diff options
| author | Adam Soltys <[email protected]> | 2026-03-14 17:12:37 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-14 17:12:37 +0000 |
| commit | f87b082c14869c4934b4e5fc7ff4b8066a84ed8d (patch) | |
| tree | b4a83b6e0ba9c9cbe583baefc5215557ba0d4b11 /lib | |
| parent | fa5188d7e4781e90d1f315274f840f60db326f7e (diff) | |
| download | coinos-server-f87b082c14869c4934b4e5fc7ff4b8066a84ed8d.tar.gz coinos-server-f87b082c14869c4934b4e5fc7ff4b8066a84ed8d.zip | |
pass bytes for app secret
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/db.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ async function dbReconnect() { async function archiveReconnect() { try { - await archive.connect(); + if (!archive.isOpen) await archive.connect(); } catch (err) { console.error("Failed to connect to Redis, retrying...", err); setTimeout(archiveReconnect, 5000); // Retry after 5 seconds |
