diff options
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-x | bin/send-reports | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-reports b/bin/send-reports index c45e4b98b..76933f9e1 100755 --- a/bin/send-reports +++ b/bin/send-reports @@ -596,7 +596,7 @@ sub bromley_retry_timeout { my $tz = DateTime::TimeZone->new( name => 'local' ); my $now = DateTime->now( time_zone => $tz ); my $diff = $now - $row->send_fail_timestamp; - if ( $diff->minutes < 30 ) { + if ( $diff->in_units( 'minutes' ) < 30 ) { return 1; } |