mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 12:40:39 -05:00
Merge branch 'develop' into request_logging
Conflicts: setup.py synapse/storage/_base.py synapse/util/async.py
This commit is contained in:
commit
e903c941cb
208 changed files with 8887 additions and 19461 deletions
|
|
@ -24,3 +24,9 @@ def sleep(seconds):
|
|||
reactor.callLater(seconds, d.callback, seconds)
|
||||
with PreserveLoggingContext():
|
||||
yield d
|
||||
|
||||
def run_on_reactor():
|
||||
""" This will cause the rest of the function to be invoked upon the next
|
||||
iteration of the main loop
|
||||
"""
|
||||
return sleep(0)
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ class JsonEncodedObject(object):
|
|||
|
||||
def get_full_dict(self):
|
||||
d = {
|
||||
k: v for (k, v) in self.__dict__.items()
|
||||
k: _encode(v) for (k, v) in self.__dict__.items()
|
||||
if k in self.valid_keys or k in self.internal_keys
|
||||
}
|
||||
d.update(self.unrecognized_keys)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue