Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Increase timeout for adapter->server endpoints connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
int19h committed Jan 16, 2020
1 parent 2695b3f commit 2731604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ptvsd/server/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def enable_attach(dont_trace_start_patterns, dont_trace_end_patterns):
server_access_token = compat.force_str(codecs.encode(os.urandom(32), "hex"))

try:
endpoints_listener = sockets.create_server("127.0.0.1", 0, timeout=5)
endpoints_listener = sockets.create_server("127.0.0.1", 0, timeout=10)
except Exception as exc:
log.exception("Can't listen for adapter endpoints:")
raise RuntimeError("can't listen for adapter endpoints: " + str(exc))
Expand Down

0 comments on commit 2731604

Please sign in to comment.