Compare commits

...

2 Commits
v1 ... rb/debug

Author SHA1 Message Date
Robert Brennan
a5c80c8a53 more debug logs 2024-12-26 21:31:57 -05:00
Robert Brennan
445f745748 add debug logs 2024-12-26 21:23:44 -05:00
2 changed files with 5 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ class SessionManager:
)
async def __aenter__(self):
print('CREATE SESSION MAN')
redis_client = self._get_redis_client()
if redis_client:
self._redis_listen_task = asyncio.create_task(self._redis_subscribe())
@@ -227,6 +228,7 @@ class SessionManager:
self._detached_conversations[sid] = (conversation, time.time())
async def _cleanup_detached_conversations(self):
print('SET UP CLEANUP')
while should_continue():
if self._get_redis_client():
# Debug info for HA envs

View File

@@ -8,6 +8,9 @@ from openhands.server.config.openhands_config import load_openhands_config
from openhands.server.session import SessionManager
from openhands.storage import get_file_store
print(f'Initializing at {__file__}')
print(f'Module name: {__name__}')
load_dotenv()
config = load_app_config()