From 0c4ccf4bb29261eddc5187bfb078cdd9eda878b3 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 11 Feb 2012 14:44:53 +0100 Subject: [PATCH] Don't search on start, use cron scheduler --- couchpotato/core/plugins/searcher/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/couchpotato/core/plugins/searcher/main.py b/couchpotato/core/plugins/searcher/main.py index fedd01dd..34a9a7c0 100644 --- a/couchpotato/core/plugins/searcher/main.py +++ b/couchpotato/core/plugins/searcher/main.py @@ -24,9 +24,6 @@ class Searcher(Plugin): # Schedule cronjob fireEvent('schedule.cron', 'searcher.all', self.all_movies, day = self.conf('cron_day'), hour = self.conf('cron_hour'), minute = self.conf('cron_minute')) - if not Env.setting('development'): - addEvent('app.load', self.all_movies) - def all_movies(self): db = get_session()