diff --git a/tubearchivist/home/apps.py b/tubearchivist/home/apps.py index 1053bc6..3957f5e 100644 --- a/tubearchivist/home/apps.py +++ b/tubearchivist/home/apps.py @@ -28,6 +28,7 @@ class StartupCheck: self.release_lock() index_check() self.sync_redis_state() + self.set_redis_conf() self.make_folders() self.set_has_run() @@ -45,6 +46,10 @@ class StartupCheck: print("sync redis") self.config_handler.load_new_defaults() + def set_redis_conf(self): + """set conf values for redis""" + self.redis_con.conn.config_set("timeout", 3600) + def make_folders(self): """make needed cache folders here so docker doesn't mess it up""" folders = [