aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-comments
diff options
context:
space:
mode:
Diffstat (limited to 'bin/send-comments')
-rwxr-xr-xbin/send-comments2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-comments b/bin/send-comments
index df646a682..3a5d1aa47 100755
--- a/bin/send-comments
+++ b/bin/send-comments
@@ -84,7 +84,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;
}