Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
themylogin committed Aug 29, 2024
1 parent 62b36c1 commit 4cb1e74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, middleware):

async def check(self):
try:
await self.middleware.call('failover.call_remote', 'core.ping', {'timeout': 2})
await self.middleware.call('failover.call_remote', 'core.ping', [], {'timeout': 2})
except Exception:
if time.monotonic() - self.last_available > 4 * 3600:
if self.incident_id is None:
Expand Down

0 comments on commit 4cb1e74

Please sign in to comment.