Diff

mod_firewall/definitions.lib.lua @ 2587:8c879948a2cf

mod_firewall: Remove unused variable assignment
author Matthew Wild <mwild1@gmail.com>
date Sun, 26 Feb 2017 11:29:10 +0000
parent 2586:d28e434cb5fd
child 2859:22e11645a895
line wrap: on
line diff
--- a/mod_firewall/definitions.lib.lua	Sun Feb 26 11:28:56 2017 +0000
+++ b/mod_firewall/definitions.lib.lua	Sun Feb 26 11:29:10 2017 +0000
@@ -119,7 +119,6 @@
 						module:log("debug", "List at <%s> is unchanged", url);
 					elseif code == 0 or (code >= 400 and code <=599) then
 						module:log("warn", "Failed to fetch list from <%s>: %d %s", url, code, tostring(body));
-						next_poll = 300;
 						failure_count = failure_count + 1;
 						next_poll = retry_intervals[failure_count] or retry_intervals[#retry_intervals];
 					end