Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Apr 30, 2024
1 parent 96ce209 commit 140185b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vision_agent/agent/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ def reliability_guard(maximum_memory_bytes: Optional[int] = None) -> None:
import resource

if platform.uname().system == "Windows":
raise NotImplementedError(
"Memory limits are not supported on Windows."
)
raise NotImplementedError("Memory limits are not supported on Windows.")

resource.setrlimit(
resource.RLIMIT_AS, (maximum_memory_bytes, maximum_memory_bytes)
Expand Down

0 comments on commit 140185b

Please sign in to comment.