File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 57
57
58
58
retry_503 = retry .RetryErrors (exceptions .ServiceUnavailable )
59
59
retry_429_503 = retry .RetryErrors (
60
- exceptions .TooManyRequests , exceptions .ServiceUnavailable ,
60
+ exceptions .TooManyRequests , exceptions .ServiceUnavailable , 8
61
61
)
62
62
retry_mabye_aborted_txn = retry .RetryErrors (exceptions .ServerError , exceptions .Aborted )
63
63
retry_mabye_conflict = retry .RetryErrors (exceptions .ServerError , exceptions .Conflict )
@@ -107,7 +107,7 @@ def scrub_instance_ignore_not_found(to_scrub):
107
107
108
108
109
109
def cleanup_old_instances (spanner_client ):
110
- cutoff = int (time .time ()) - 1 * 60 * 60 # one hour ago
110
+ cutoff = int (time .time ()) - 2 * 60 * 60 # one hour ago
111
111
instance_filter = "labels.python-spanner-systests:true"
112
112
113
113
for instance_pb in spanner_client .list_instances (filter_ = instance_filter ):
You can’t perform that action at this time.
0 commit comments