Merge pull request #7955 from nicoddemus/backport-7914
[6.1.x] Increase temp dir deletion period to 3 days (#7914)
This commit is contained in:
commit
cd221df8e2
|
@ -0,0 +1 @@
|
||||||
|
Directories created by `tmpdir` are now considered stale after 3 days without modification (previous value was 3 hours) to avoid deleting directories still in use in long running test suites.
|
|
@ -38,7 +38,7 @@ else:
|
||||||
__all__ = ["Path", "PurePath"]
|
__all__ = ["Path", "PurePath"]
|
||||||
|
|
||||||
|
|
||||||
LOCK_TIMEOUT = 60 * 60 * 3
|
LOCK_TIMEOUT = 60 * 60 * 24 * 3
|
||||||
|
|
||||||
|
|
||||||
_AnyPurePath = TypeVar("_AnyPurePath", bound=PurePath)
|
_AnyPurePath = TypeVar("_AnyPurePath", bound=PurePath)
|
||||||
|
|
Loading…
Reference in New Issue