diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-06 16:19:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-06 16:19:38 +0200 |
commit | 4c937646225f911d29ed7a6dde3cf11eff1cfbb7 (patch) | |
tree | 6dab51e6a3eb5ab2807c7aa94a8ebcdcc9cf6cd6 | |
parent | 16c8663b5c066a2d1faed294181d07ba284557c5 (diff) |
Revert Windows rm/mv sharing violation retries increase
-rw-r--r-- | libbutl/filesystem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/filesystem.cxx b/libbutl/filesystem.cxx index 19d09d1..7db26a5 100644 --- a/libbutl/filesystem.cxx +++ b/libbutl/filesystem.cxx @@ -1087,7 +1087,7 @@ namespace butl // failure (see mventry() for details). If that's the case, we will keep // trying to move the file for two seconds. // - for (size_t i (0); i < 601; ++i) + for (size_t i (0); i < 21; ++i) { // Sleep 100 milliseconds before the removal retry. // @@ -1732,7 +1732,7 @@ namespace butl // fdopen(). // DWORD ec; - for (size_t i (0); i < 601; ++i) + for (size_t i (0); i < 21; ++i) { // Sleep 100 milliseconds before the move retry. // |