Merge branch 'config' into ipv6-dnsbl

This commit is contained in:
discomrade 2021-10-14 07:08:26 +00:00
commit 07f1abfc3a
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ $(document).ready(function(){
// Grab the settings
var settings = new script_settings('auto-reload-mod');
var poll_interval_mindelay = settings.get('min_delay_bottom', 5000);
var poll_interval_maxdelay = settings.get('max_delay', 600000);
var poll_interval_maxdelay = settings.get('max_delay', 10000);
var poll_interval_errordelay = settings.get('error_delay', 30000);
// number of ms to wait before reloading

View File

@ -148,7 +148,7 @@
return $stats;
}
private static function countUniqueIps($markAsCounted, $timespan, $_board) {
private static function countUniqueIps(&$markAsCounted, $timespan, $_board) {
$unique_query = query(
sprintf("SELECT DISTINCT ip FROM ``posts_%s`` WHERE time > %d",
$_board['uri'],