Increased the size change detection wait to to reduce the risk of premature addition to the DB if there's a network hiccup.

Signed-off-by: Digimer <digimer@alteeve.ca>
main
Digimer 2 years ago
parent f6cbe7d1d2
commit 7504978af7
  1. 4
      Anvil/Tools/Storage.pm

@ -5269,12 +5269,12 @@ sub _wait_if_changing
if (not $delay) if (not $delay)
{ {
$delay = 2; $delay = 10;
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { delay => $delay }}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { delay => $delay }});
} }
elsif (($delay =~ /\D/) or ($delay == 0)) elsif (($delay =~ /\D/) or ($delay == 0))
{ {
$delay = 2; $delay = 10;
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { delay => $delay }}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { delay => $delay }});
} }

Loading…
Cancel
Save