diff options
author | Erik Johnston <erik@matrix.org> | 2021-09-20 09:42:00 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-09-21 08:58:28 +0100 |
commit | 16e85805719483dfd4a9b4b3972de84e173875d6 (patch) | |
tree | b3c694003aa3a38bb9faf0d5bb86ce7469e1cb4a /tests | |
parent | Fix tests (diff) | |
download | synapse-erikj/faster_json_response.tar.xz |
Write JSON response using a producer github/erikj/faster_json_response erikj/faster_json_response
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_server.py b/tests/test_server.py index 7f469defd2..f2ffbc895b 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -105,7 +105,7 @@ class JsonResourceTests(unittest.TestCase): def _callback(request, **kwargs): d = Deferred() d.addCallback(_throw) - self.reactor.callLater(1, d.callback, True) + self.reactor.callLater(0.5, d.callback, True) return make_deferred_yieldable(d) res = JsonResource(self.homeserver) |