core: fix agent cleanup manager not starting in normal operation mode in CLI (#6567)

This commit is contained in:
spaced4ndy
2026-01-12 10:16:32 +00:00
committed by GitHub
parent 8ebc8894de
commit bf1783feb4

View File

@@ -52,7 +52,7 @@ simplexChatCore cfg@ChatConfig {confirmMigrations, testView, chatHooks} opts@Cha
exitFailure
run db@ChatDatabase {chatStore} = do
u_ <- getSelectActiveUser chatStore
let backgroundMode = not maintenance
let backgroundMode = maintenance
cc <- newChatController db u_ cfg opts backgroundMode
u <- maybe (createActiveUser cc createBot) pure u_
unless testView $ putStrLn $ "Current user: " <> userStr u