Increase temp dir deletion period to 3 days (#7914)

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Vasilis Gerakaris 2020-10-28 13:23:35 +02:00 committed by Bruno Oliveira
parent a88fe584ad
commit 8c1c1ae310
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -38,7 +38,7 @@ else:
__all__ = ["Path", "PurePath"]
LOCK_TIMEOUT = 60 * 60 * 3
LOCK_TIMEOUT = 60 * 60 * 24 * 3
_AnyPurePath = TypeVar("_AnyPurePath", bound=PurePath)