Skip to content

Commit

Permalink
Set timeout to 600 seconds.
Browse files Browse the repository at this point in the history
Current local longest query is !aAS-INTEROUTE, at 179s.
  • Loading branch information
mxsasha committed Jan 29, 2019
1 parent 1d41f5c commit a9142da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion irrd/scripts/load_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def main(host, port, count):
queries.append(b'!q\n')

s = socket.socket()
s.settimeout(3000)
s.settimeout(600)
s.connect((host, port))

queries_str = b''.join(queries)
Expand Down
2 changes: 1 addition & 1 deletion irrd/server/whois/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class WhoisQueryReceiver(TimeoutMixin, LineOnlyReceiver):
off to a query pipeline thread.
"""
delimiter = b'\n'
time_out = 3000
time_out = 600

def connectionMade(self) -> None: # noqa: N802
"""
Expand Down

0 comments on commit a9142da

Please sign in to comment.