]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Revert "Use monotonic time for pool age measurement"
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 7 Oct 2020 14:09:41 +0000 (10:09 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 7 Oct 2020 14:09:41 +0000 (10:09 -0400)
commit3ca8b453088ac6fb815e2f39c9a705b49bfb188c
treeefd74a0b90d051abe7e5871a2868c29cdbece397
parentbb32b59cd4e3477402c44d70ef6b5a12827bb429
Revert "Use monotonic time for pool age measurement"

This reverts commit 0220b58917b5a979891b5765f6ac5095e0368489.

I completely misread https://www.python.org/dev/peps/pep-0418/#rationale
and the accuracy of monotonic() is *worse* on windows than time.time(),
which is bizarre.

Change-Id: I2d571e268a2051bea68736507773d3904403af9e
doc/build/changelog/unreleased_14/monotonic_time.rst [deleted file]
lib/sqlalchemy/pool/base.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/compat.py
test/engine/test_pool.py
test/engine/test_reconnect.py