aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-04-29 17:57:22 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-04-29 23:02:48 +0200
commit52ec6b7ea19256e47d9ffd1519ef9d7799ca48ba (patch)
treed3112d3322eef605afe9864bcb6fb416f2cfeb53 /global-functions.rsc
parent6ba1faca4c156097448c766098688cc5c4ef6045 (diff)
global-functions: $WaitForFile: use fewer steps
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc4
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;