Lower hacky timeout for member limiter

This commit is contained in:
hera 2018-07-23 15:16:36 +00:00
parent b136d7ff8f
commit 27eb4c45cd

View file

@ -251,14 +251,14 @@ class RoomMemberHandler(object):
with (yield self.member_limiter.queue(as_id)):
diff = self.clock.time_msec() - then
if diff > 90 * 1000:
if diff > 80 * 1000:
# haproxy would have timed the request out anyway...
raise SynapseError(504, "took to long to process")
with (yield self.member_linearizer.queue(key)):
diff = self.clock.time_msec() - then
if diff > 90 * 1000:
if diff > 80 * 1000:
# haproxy would have timed the request out anyway...
raise SynapseError(504, "took to long to process")