Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions folding/utils/s3_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get(self, key: str, output_path: str) -> None:
pass

@abstractmethod
def generate_presigned_url(self, key: str, expires_in: int = 3600) -> str:
def generate_presigned_url(self, key: str, expires_in: int = 7200) -> str:
"""Generates a presigned URL for temporary access to an object."""
pass

Expand Down Expand Up @@ -218,7 +218,7 @@ def generate_presigned_url(
miner_hotkey: str,
pdb_id: str,
file_name: str,
expires_in: int = 3600,
expires_in: int = 7200,
method: str = "get_object",
) -> dict[str, Any]:
"""Generates a presigned URL for temporary access to an object.
Expand Down
2 changes: 1 addition & 1 deletion folding/validators/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ async def try_prepare_md_challenge(self, config, pdb_id: str) -> Dict:
)

try:
async with timeout(300):
async with timeout(600):
await protein.setup_simulation()

if protein.init_energy > 0:
Expand Down
2 changes: 1 addition & 1 deletion neurons/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ async def add_job(self, job_event: dict[str, Any], protein: Protein = None) -> b
job_event["s3_links"] = {
"testing": "testing"
} # overwritten below if s3 logging is on.
async with timeout(300):
async with timeout(600):
logger.info(
f"setup_simulation for organic query: {job_event['pdb_id']}"
)
Expand Down