mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
15 lines
313 B
Python
15 lines
313 B
Python
import asyncio
|
|
|
|
from storage.proactive_conversation_store import ProactiveConversationStore
|
|
|
|
OLDER_THAN = 30 # 30 minutes
|
|
|
|
|
|
async def main():
|
|
convo_store = ProactiveConversationStore()
|
|
await convo_store.clean_old_convos(older_than_minutes=OLDER_THAN)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
asyncio.run(main())
|