Moved token refresh into its worn operation for process registry compatibility

This commit is contained in:
Lyncoln
2026-10-30 10:29:32 -04:00
parent b5591ade62
commit b3094f75a9
3 changed files with 31 additions and 3 deletions
+7 -3
View File
@@ -5,7 +5,8 @@ import os
from core.server.server import startServer
from core.execution.createthread import buildThread
from plugins.rmass.monitors import rmassmonitor
from plugins.rmass.actions import refresh_tokens
#from plugins.rmass.actions import refresh_tokens
from plugins.rmass.operations import token_update
from core.console import console
from rich.logging import RichHandler
@@ -28,11 +29,14 @@ import login
import synapsemessagepush
rmassmonitor.mode = "continuous"
refresh_tokens.mode = "continuous"
token_update.mode = "continuous"
#refresh_tokens.mode = "continuous"
thread = buildThread(rmassmonitor)
thread = buildThread(refresh_tokens)
#thread = buildThread(refresh_tokens)
thread = buildThread(token_update)
thread = threading.Thread(
target=startServer,