1
9 5ˆl–äY>”TÔD¨ ÅõÆEp/)‹FÿÃ
80Âa–ß=¿JJj"Tâ‚
ÆÃq±)‹FÿÉ P 5I:3932265
E:SYSTEMD_WANTS=sys-fs-fuse-connections.mount
G:systemd
Q:systemd
V:1
7ˆ
ƒn3ȾÉ
7
Index of /FSS-BCZ/root/sys/devices/system/memory/memory48/node0/memory11
Index of /FSS-BCZ/root/sys/devices/system/memory/memory48/node0/memory11
$ 9ˆl–äY>”Šh¥@¹q·î2%1hßÅ
„ Ä¿Ê ' 9from __future__ import absolute_import
import time
# The default socket timeout, used by httplib to indicate that no timeout was
# specified by the user
from socket import _GLOBAL_DEFAULT_TIMEOUT
from ..exceptions import TimeoutStateError
# A sentinel value to indicate that no timeout was specified by the user in
# urllib3
_Default = object()
# Use time.monotonic if available.
current_time = getattr(time, "monotonic", time.time)
class Timeout(object):
"""Timeout configuration.
Timeouts can be defined as a default for a pool:
.. code-block:: python
timeout = Timeout(connect=2.0, read=7.0)
http = PoolManager(timeout=timeout)
response = http.request('GET', 'http://example.com/')
Or per-request (which overrides the default for the pool):
.. code-block:: python
response = http.request('GET', 'http://example.com/', timeout=Timeout(10))
Timeouts can be disabled by setting all the parameters to ``None``:
.. code-block:: python
no_timeout = Timeout(connect=None, read=None)
response = http.request('GET', 'http://example.com/, timeout=no_timeout)
:param total:
This combines the connect and read timeouts into one; the read timeout
will be set to the time leftover from the connec