Moved token refresh into its worn operation for process registry compatibility
This commit is contained in:
+7
-3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user