mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-11 13:24:19 -05:00
Update the default longpoll timeout time.
This commit is contained in:
parent
c12f55aa3b
commit
b37ced8f63
@ -24,7 +24,7 @@ from synapse.rest.base import RestServlet, client_path_pattern
|
|||||||
class EventStreamRestServlet(RestServlet):
|
class EventStreamRestServlet(RestServlet):
|
||||||
PATTERN = client_path_pattern("/events$")
|
PATTERN = client_path_pattern("/events$")
|
||||||
|
|
||||||
DEFAULT_LONGPOLL_TIME_MS = 5000
|
DEFAULT_LONGPOLL_TIME_MS = 30000
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def on_GET(self, request):
|
def on_GET(self, request):
|
||||||
|
Loading…
Reference in New Issue
Block a user