mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:30 -06:00
fix: Allow HA_ACTIVE: True
to enable HA mode
This commit is contained in:
parent
94d253bf59
commit
883493ad80
@ -222,7 +222,8 @@ module.exports = {
|
||||
* Subscribe to database LISTEN / NOTIFY for multi-instances events
|
||||
*/
|
||||
async subscribeToNotifications () {
|
||||
const useHA = (WIKI.config.ha === true || WIKI.config.ha === 'true' || WIKI.config.ha === 1 || WIKI.config.ha === '1')
|
||||
const useHA = (WIKI.config.ha === true || WIKI.config.ha === 'true' || WIKI.config.ha === 'True' || WIKI.config.ha === 'TRUE' ||
|
||||
WIKI.config.ha === 1 || WIKI.config.ha === '1')
|
||||
if (!useHA) {
|
||||
return
|
||||
} else if (WIKI.config.db.type !== 'postgres') {
|
||||
|
Loading…
Reference in New Issue
Block a user