8.2.34 | Linux | www-data (uid:33)
👁 View: constants.py
📁 //snap/core24/2124/lib/python3.12/asyncio/constants.py
# Contains code from https://github.com/MagicStack/uvloop/tree/v0.16.0 # SPDX-License-Identifier: PSF-2.0 AND (MIT OR Apache-2.0) # SPDX-FileCopyrightText: Copyright (c) 2015-2021 MagicStack Inc. http://magic.io import enum # After the connection is lost, log warnings after this many write()s. LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5 # Seconds to wait before retrying accept(). ACCEPT_RETRY_DELAY = 1 # Number of stack entries to capture in debug mode. # The larger the number, the slower the operation in debug mode # (see extract_stack() in format_helpers.py). DEBUG_STACK_DEPTH = 10 # Number of seconds to wait for SSL handshake to complete # The default timeout matches that of Nginx. SSL_HANDSHAKE_TIMEOUT = 60.0 # Number of seconds to wait for SSL shutdown to complete # The default timeout mimics lingering_time SSL_SHUTDOWN_TIMEOUT = 30.0 # Used in sendfile fallback code. We use fallback for platforms # that don't support sendfile, or for TLS connections. SENDFILE_FALLBACK_READBUFFER_SIZE = 1024 * 256 FLOW_CONTROL_HIGH_WATER_SSL_READ = 256 # KiB FLOW_CONTROL_HIGH_WATER_SSL_WRITE = 512 # KiB # Default timeout for joining the threads in the threadpool THREAD_JOIN_TIMEOUT = 300 # The enum should be here to break circular dependencies between # base_events and sslproto class _SendfileMode(enum.Enum): UNSUPPORTED = enum.auto() TRY_NATIVE = enum.auto() FALLBACK = enum.auto()
← Back
💻 Terminal
📤 Upload
📂
Click or Drag & Drop
📁 //snap/core24/2124/lib/python3.12/asyncio
NameSizePermModifiedActions
📁 __pycache__/-07552026-08-24 03:28🗑 Delete
__init__.py1.2K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
__main__.py3.3K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
base_events.py76.1K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
base_futures.py1.9K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
base_subprocess.py8.7K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
base_tasks.py2.6K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
constants.py1.4K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
coroutines.py3.3K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
events.py28.7K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
exceptions.py1.7K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
format_helpers.py2.3K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
futures.py13.9K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
locks.py18.5K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
log.py124B06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
mixins.py481B06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
proactor_events.py32.6K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
protocols.py6.8K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
queues.py7.8K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
runners.py7K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
selector_events.py47.2K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
sslproto.py31K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
staggered.py5.9K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
streams.py27K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
subprocess.py7.6K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
taskgroups.py8.5K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
tasks.py36.5K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
threads.py790B06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
timeouts.py5.2K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
transports.py10.5K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
trsock.py2.4K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
unix_events.py51.9K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
windows_events.py31.8K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
windows_utils.py4.9K06442026-06-19 12:46👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del