Remove alembic errors dumped into logs by cron jobs (#12900)

This commit is contained in:
Tim O'Farrell
2026-02-17 17:22:54 +00:00
committed by GitHub
parent 0a879fa781
commit e8425218e2

View File

@@ -2,10 +2,13 @@ import asyncio
from storage.proactive_conversation_store import ProactiveConversationStore
from openhands.core.logger import openhands_logger
OLDER_THAN = 30 # 30 minutes
async def main():
openhands_logger.info('clean_proactive_convo_table')
convo_store = ProactiveConversationStore()
await convo_store.clean_old_convos(older_than_minutes=OLDER_THAN)