[obs-commits] [openSUSE/osc] 42f9f2: Set socket timeout to 0 by default.
30 Sep
2013
30 Sep
'13
15:24
Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: 42f9f2bf3ef43a3dbf4b918f2dbd768025fb8a1d https://github.com/openSUSE/osc/commit/42f9f2bf3ef43a3dbf4b918f2dbd768025fb8... Author: Sascha Peilicke <saschpe@gmx.de> Date: 2013-09-30 (Mon, 30 Sep 2013) Changed paths: M osc/core.py Log Message: ----------- Set socket timeout to 0 by default. As long as the timeout is >= 0, Python's _ssl module will still use non-blocking I/O but not poll() but select(). poll(&fd, 1, TIMEOUT) seems to block _at least_ TIMEOUT time regardless of any errors. Currently, with SUSE's internal IPv6 layout, this meant a hang of a second per binary to fetch during "osc build".
4109
Age (days ago)
4109
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sascha Peilicke