ledger watchdog: disable the abort queue for now (#754)

This commit is contained in:
callebtc
2025-05-14 13:04:28 +02:00
committed by GitHub
parent 081a30ea68
commit c6f7ab1e79
2 changed files with 3 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ class MintWatchdogSettings(MintSettings):
title="Balance watchdog",
description="The watchdog shuts down the mint if the balance of the mint and the backend do not match.",
)
mint_watchdog_balance_check_interval_seconds: float = Field(default=0.1)
mint_watchdog_balance_check_interval_seconds: float = Field(default=60)
mint_watchdog_ignore_mismatch: bool = Field(
default=False,
description="Ignore watchdog errors and continue running. Use this to recover from a watchdog error.",

View File

@@ -42,7 +42,8 @@ class LedgerWatchdog(SupportsDb, SupportsBackends):
tasks.append(
asyncio.create_task(self.dispatch_backend_checker(unit, backend))
)
tasks.append(asyncio.create_task(self.monitor_abort_queue()))
# We disable the abort queue for now
# tasks.append(asyncio.create_task(self.monitor_abort_queue()))
return tasks
async def monitor_abort_queue(self):