mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Stop sub-classing object (#8249)
This commit is contained in:
parent
9f8abdcc38
commit
c619253db8
168 changed files with 293 additions and 292 deletions
|
@ -248,7 +248,7 @@ class LoggingTransaction:
|
|||
self.txn.close()
|
||||
|
||||
|
||||
class PerformanceCounters(object):
|
||||
class PerformanceCounters:
|
||||
def __init__(self):
|
||||
self.current_counters = {}
|
||||
self.previous_counters = {}
|
||||
|
@ -286,7 +286,7 @@ class PerformanceCounters(object):
|
|||
R = TypeVar("R")
|
||||
|
||||
|
||||
class DatabasePool(object):
|
||||
class DatabasePool:
|
||||
"""Wraps a single physical database and connection pool.
|
||||
|
||||
A single database may be used by multiple data stores.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue