aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/Open311.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311.pm b/perllib/Open311.pm
index 999cb65cb..da5a0a377 100644
--- a/perllib/Open311.pm
+++ b/perllib/Open311.pm
@@ -72,8 +72,8 @@ sub to_bristol {
sub warn_failure {
my ($obj, $problem) = @_;
# Special case a poorly behaving Open311 server
+ return 0 if to_bristol($problem || $obj);
my $threshold = 1;
- $threshold = 5 if to_bristol($problem || $obj);
return $obj->send_fail_count && $obj->send_fail_count == $threshold;
}