mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
ledger watchdog: disable the abort queue for now (#754)
This commit is contained in:
@@ -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.",
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user