chore: remove timeout >600s warning log in Event.set_hard_timeout (#10444)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Xingyao Wang
2025-08-17 17:25:13 -04:00
committed by GitHub
parent ef3e0c8dfe
commit 277064720c

View File

@@ -90,14 +90,6 @@ class Event:
until the timeout is reached.
"""
self._timeout = value
if value is not None and value > 600:
from openhands.core.logger import openhands_logger as logger
logger.warning(
'Timeout greater than 600 seconds may not be supported by '
'the runtime. Consider setting a lower timeout.'
)
# Check if .blocking is an attribute of the event
if hasattr(self, 'blocking'):
# .blocking needs to be set to True if .timeout is set