Commit eccd8f1d authored by Joseph Wilhelm's avatar Joseph Wilhelm
Browse files

Using the BOTSCOUT_CACHE_TIMEOUT setting

parent e30e9baf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ class BotScoutForm(object):
                        hit_data['botscout:mail:%s' % untested['mail']] = int(mail_hits)
                    if 'name' in untested:
                        hit_data['botscout:name:%s' % untested['name']] = int(name_hits)
                    bot_cache.set_many(hit_data)
                    bot_cache.set_many(hit_data, BOTSCOUT_CACHE_TIMEOUT)
                    if any(hit_data.values()):
                        raise forms.ValidationError(self.error_messages['botscout'])
            except urllib2.URLError: