From 7bf1ffcc94ca7e7c4fd328566fbc164e739e6c42 Mon Sep 17 00:00:00 2001 From: sharath <29162020+tnfssc@users.noreply.github.com> Date: Wed, 11 Jun 2025 02:08:36 +0000 Subject: [PATCH] fix(sandbox): add auto archive interval to sandbox creation --- backend/requirements.txt | 2 +- backend/sandbox/sandbox.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/requirements.txt b/backend/requirements.txt index 395edcae..bcd0ca7f 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -21,7 +21,7 @@ exa-py>=1.9.1 e2b-code-interpreter>=1.2.0 certifi==2024.2.2 python-ripgrep==0.0.6 -daytona_sdk==0.14.0 +daytona-sdk==0.20.2 boto3>=1.34.0 openai>=1.72.0 nest-asyncio>=1.6.0 diff --git a/backend/sandbox/sandbox.py b/backend/sandbox/sandbox.py index d034c167..32b7422a 100644 --- a/backend/sandbox/sandbox.py +++ b/backend/sandbox/sandbox.py @@ -114,6 +114,7 @@ def create_sandbox(password: str, project_id: str = None): "disk": 5, }, auto_stop_interval=15, + auto_archive_interval=24 * 60, ) # Create the sandbox