File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ def rmtree_empty(*args, **kwargs):
806806 to_delete_empty .append ((args , kwargs ))
807807
808808 # add entries that are not in the entry_from_key dictionary
809- time_now = time .perf_counter ()
809+ time_now = time .time ()
810810 # Go through directories in alphabetical order to ensure consistent
811811 # behavior.
812812 try :
@@ -976,7 +976,7 @@ def unpickle_failure():
976976 # directories in alphabetical order so as to make
977977 # sure all new processes only use the first one.
978978 if cleanup :
979- age = time .perf_counter () - last_access_time (entry )
979+ age = time .time () - last_access_time (entry )
980980 if delete_if_problem or age > self .age_thresh_del :
981981 rmtree (
982982 root ,
@@ -1528,7 +1528,7 @@ def clear_unversioned(self, min_age=None):
15281528 assert key [0 ]
15291529
15301530 to_del = []
1531- time_now = time .perf_counter ()
1531+ time_now = time .time ()
15321532 for filename in os .listdir (self .dirname ):
15331533 if filename .startswith ("tmp" ):
15341534 try :
You can’t perform that action at this time.
0 commit comments