diff options
author | Christian Hesse <mail@eworm.de> | 2024-04-29 17:57:22 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-04-29 18:00:17 +0200 |
commit | 67e42ba66a886b7d26f4903110ada8d4636853a4 (patch) | |
tree | 4f3c1407b168378af6d1c1b7958cb2de81dcb948 | |
parent | b6751d27ebde5df9769d7fafba66170fca2e7b64 (diff) |
global-functions: $WaitForFile: use fewer steps
-rw-r--r-- | global-functions.rsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/global-functions.rsc b/global-functions.rsc index 5135fc1..1c36e2a 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -1520,10 +1520,10 @@ :set FileName [ $CleanFilePath $FileName ]; :local I 1; - :local Delay ([ :totime [ $EitherOr $WaitTime 2s ] ] / 20); + :local Delay ([ :totime [ $EitherOr $WaitTime 2s ] ] / 10); :while ([ :len [ /file/find where name=$FileName ] ] = 0) do={ - :if ($I >= 20) do={ + :if ($I >= 10) do={ :return false; } :delay $Delay; |