* Fixed a bug where the time check to trigger a rescan test was being turned into a string.

Signed-off-by: Digimer <digimer@alteeve.ca>
main
Digimer 4 years ago
parent 50041fadd9
commit 581778b507
  1. 6
      Anvil/Tools/Database.pm

@ -15728,9 +15728,9 @@ ORDER BY
### and the next database is read. As such, we won't trigger unless
### the difference is more than 10 seconds.
# Resync needed.
my $difference = $anvil->Convert->add_commas({number => ($anvil->data->{sys}{database}{table}{$table}{last_updated} - $anvil->data->{sys}{database}{table}{$table}{uuid}{$uuid}{last_updated}) });
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => {
"s1:difference" => $difference,
my $difference = $anvil->data->{sys}{database}{table}{$table}{last_updated} - $anvil->data->{sys}{database}{table}{$table}{uuid}{$uuid}{last_updated};
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => {
"s1:difference" => $anvil->Convert->add_commas({number => $difference }),
"s2:sys::database::table::${table}::last_updated" => $anvil->data->{sys}{database}{table}{$table}{last_updated},
"s3:sys::database::table::${table}::uuid::${uuid}::last_updated" => $anvil->data->{sys}{database}{table}{$table}{uuid}{$uuid}{last_updated},
}});

Loading…
Cancel
Save