Skip to content

Commit ae227f8

Browse files
committed
wip : try more iterations
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent d6d1506 commit ae227f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tuf/ngclient/updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def _lock_file(path: str) -> Iterator[IO]:
105105
def _lock_file(path: str) -> Iterator[IO]:
106106
err = None
107107
locked = False
108-
for _ in range(100):
108+
for _ in range(1000):
109109
try:
110110
with open(path, "wb") as f:
111111
msvcrt.locking(f.fileno(), msvcrt.LK_LOCK, 1)

0 commit comments

Comments
 (0)