From 3a2492178fcbc84eac33a9f0105f88c910c721e7 Mon Sep 17 00:00:00 2001 From: André Oliveira Date: Tue, 19 Jul 2022 10:47:44 +0100 Subject: fix: remove autoHibernate This was causing issues to the service hibernation. Toggling back the isHibernationEnabled to false right after saving the service, which disabled the Hibernation. --- src/models/Recipe.ts | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/models/Recipe.ts') diff --git a/src/models/Recipe.ts b/src/models/Recipe.ts index a171a288a..6911f7301 100644 --- a/src/models/Recipe.ts +++ b/src/models/Recipe.ts @@ -21,7 +21,6 @@ interface RecipeData { urlInputPrefix?: string; urlInputSuffix?: string; disablewebsecurity?: boolean; - autoHibernate?: boolean; partition?: string; local?: boolean; message?: string; @@ -47,7 +46,6 @@ export interface IRecipe { message: string; allowFavoritesDelineationInUnreadCount: boolean; disablewebsecurity: boolean; - autoHibernate: boolean; path: string; partition: string; local: boolean; @@ -97,9 +95,6 @@ export default class Recipe implements IRecipe { disablewebsecurity = DEFAULT_SERVICE_SETTINGS.disablewebsecurity; - // TODO: Is this even used? - autoHibernate = DEFAULT_SERVICE_SETTINGS.autoHibernate; - path = ''; partition = ''; @@ -169,10 +164,6 @@ export default class Recipe implements IRecipe { data.config.disablewebsecurity, this.disablewebsecurity, ); - this.autoHibernate = ifUndefined( - data.config.autoHibernate, - this.autoHibernate, - ); this.local = ifUndefined(data.config.local, this.local); this.message = ifUndefined(data.config.message, this.message); this.allowFavoritesDelineationInUnreadCount = ifUndefined( -- cgit v1.2.3-70-g09d2