|
|
|
@ -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}, |
|
|
|
|
}}); |
|
|
|
|