We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef6a6b commit 2ae6f78Copy full SHA for 2ae6f78
mautrix/util/async_db/asyncpg.py
@@ -40,8 +40,10 @@ def __init__(
40
self.scheme = Scheme.COCKROACH
41
# Send postgres scheme to asyncpg
42
url = url.with_scheme("postgres")
43
- self._exit_on_ice = (db_args or {}).pop("meow_exit_on_ice", True)
44
- db_args.pop("init_commands", None)
+ self._exit_on_ice = True
+ if db_args:
45
+ self._exit_on_ice = db_args.pop("meow_exit_on_ice", True)
46
+ db_args.pop("init_commands", None)
47
super().__init__(
48
url,
49
db_args=db_args,
0 commit comments