diff options
author | 2021-07-23 17:48:50 +0000 | |
---|---|---|
committer | 2021-07-23 23:18:50 +0530 | |
commit | 0158c89b21ad6764866bb2770491a91c3516f362 (patch) | |
tree | 66564d8afea49b83ebcc71fd9e9e9b79c5e807f4 /src/config.js | |
parent | New Crowdin updates (#1678) (diff) | |
download | ferdium-app-0158c89b21ad6764866bb2770491a91c3516f362.tar.gz ferdium-app-0158c89b21ad6764866bb2770491a91c3516f362.tar.zst ferdium-app-0158c89b21ad6764866bb2770491a91c3516f362.zip |
Added a 'wakeUpStrategy' that the user can control to wake up a previously hibernated service (#1680)
Diffstat (limited to 'src/config.js')
-rw-r--r-- | src/config.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js index 24888e518..b540334c4 100644 --- a/src/config.js +++ b/src/config.js | |||
@@ -41,6 +41,17 @@ export const HIBERNATION_STRATEGIES = { | |||
41 | 3600: 'Extremely Slow Hibernation (1hour)', | 41 | 3600: 'Extremely Slow Hibernation (1hour)', |
42 | }; | 42 | }; |
43 | 43 | ||
44 | export const WAKE_UP_STRATEGIES = { | ||
45 | 0: 'Never wake up', | ||
46 | 10: 'Wake up after 10sec', | ||
47 | 30: 'Wake up after 30sec', | ||
48 | 60: 'Wake up after 1min', | ||
49 | 300: 'Wake up after 5min', | ||
50 | 600: 'Wake up after 10min', | ||
51 | 1800: 'Wake up after 30min', | ||
52 | 3600: 'Wake up after 1hour', | ||
53 | }; | ||
54 | |||
44 | export const NAVIGATION_BAR_BEHAVIOURS = { | 55 | export const NAVIGATION_BAR_BEHAVIOURS = { |
45 | custom: 'Show navigation bar on custom websites only', | 56 | custom: 'Show navigation bar on custom websites only', |
46 | always: 'Show navigation bar on all services', | 57 | always: 'Show navigation bar on all services', |