diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-06-24 16:40:10 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-06-24 22:22:03 +0300 |
commit | bba055c254bd0a4566a0720991fa9e1637ced648 (patch) | |
tree | 63305ee56c08e1fbbaabd8578dda945a101135ad | |
parent | 5d0a82ac14aabe81f68f718391767f443dfb3904 (diff) |
30s timeout when updating the spammers blacklist
-rw-r--r-- | plugins/CoreAdminHome/Tasks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreAdminHome/Tasks.php b/plugins/CoreAdminHome/Tasks.php index 84c8be3ff9..3a5ef5966f 100644 --- a/plugins/CoreAdminHome/Tasks.php +++ b/plugins/CoreAdminHome/Tasks.php @@ -112,7 +112,7 @@ class Tasks extends \Piwik\Plugin\Tasks public function updateSpammerBlacklist() { $url = 'https://raw.githubusercontent.com/piwik/referrer-spam-blacklist/master/spammers.txt'; - $list = Http::sendHttpRequest($url, 10); + $list = Http::sendHttpRequest($url, 30); $list = preg_split("/\r\n|\n|\r/", $list); Option::set(ReferrerSpamFilter::OPTION_STORAGE_NAME, serialize($list)); } |