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 c82e7f4 commit 10fd4aeCopy full SHA for 10fd4ae
mamonsu/plugins/pgsql/driver/pool.py
@@ -89,8 +89,8 @@ def in_recovery(self, db=None):
89
90
def is_bootstraped(self, db=None):
91
if db in self._cache['bootstrap']['storage']:
92
- if self.cache['bootstrap']['counter'] < self._cache['bootstrap']['cache']:
93
- self.cache['bootstrap']['counter'] += 1
+ if self._cache['bootstrap']['counter'] < self._cache['bootstrap']['cache']:
+ self._cache['bootstrap']['counter'] += 1
94
return self._cache['bootstrap']['storage'][db]
95
self._cache['bootstrap']['counter'] = 0
96
sql = """select count(*) from pg_catalog.pg_class
0 commit comments