We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb480f6 commit 095fa6eCopy full SHA for 095fa6e
adf_core_python/launcher.py
@@ -12,7 +12,13 @@ def __init__(
12
self,
13
launcher_config_file: str,
14
) -> None:
15
- resource.setrlimit(resource.RLIMIT_NOFILE, (8192, 1048576))
+ try:
16
+ resource.setrlimit(resource.RLIMIT_NOFILE, (8192, 1048576))
17
+ except Exception as e:
18
+ print(
19
+ f"Failed to set resource limit: {e}. "
20
+ "This may cause issues with the number of open files."
21
+ )
22
23
self.launcher_config = Config(launcher_config_file)
24
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "adf_core_python"
3
-version = "0.1.3"
+version = "0.1.4"
4
description = "Agent Development Framework for Python"
5
authors = [
6
"Haruki Uehara <k19016kk@maslab.aitech.ac.jp>",
0 commit comments