Skip to content

Commit d93a397

Browse files
committed
docs(config): add load-library-timeout option for library and variable loading to json schema
Signed-off-by: Daniel Biehl <dbiehl@live.de>
1 parent 461212d commit d93a397

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

etc/robot.toml.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@
123123
"null"
124124
]
125125
},
126+
"load-library-timeout": {
127+
"default": null,
128+
"description": "Specifies the timeout in seconds for loading (importing) libraries and variable files during\nanalysis. Increase this if your libraries perform heavy initialization (network calls, large\ndependency graphs, model loading, etc.).\n\nMust be > 0 when set. If you omit this key, RobotCode will instead look for the environment\nvariable `ROBOTCODE_LOAD_LIBRARY_TIMEOUT`; otherwise it will use the internal default `10`.\n\nExamples:\n\n```toml\n[tool.robotcode-analyze]\n# Fast fail if libraries normally import in < 2s\nload_library_timeout = 5\n```\n\n```toml\n[tool.robotcode-analyze]\n# Allow heavy bootstrap (e.g. Selenium + large resource trees)\nload_library_timeout = 30\n```\n\n```toml\n[tool.robotcode-analyze]\n# Omit to use default\n# load_library_timeout = 15\n```\n",
129+
"title": "Load library timeout",
130+
"type": [
131+
"integer",
132+
"null"
133+
]
134+
},
126135
"modifiers": {
127136
"anyOf": [
128137
{
@@ -1828,7 +1837,7 @@
18281837
}
18291838
],
18301839
"default": null,
1831-
"description": "Selects the Default profile if no profile is given at command line.\n\nExamples:\n```toml\ndefault_profiles = \"default\"\n```\n\n```toml\ndefault_profiles = [\"default\", \"Firefox\"]\n```\n",
1840+
"description": "Selects the Default profile if no profile is given at command line.\n\nExamples:\n```toml\ndefault-profiles = \"default\"\n```\n\n```toml\ndefault-profiles = [\"default\", \"Firefox\"]\n```\n",
18321841
"title": "Default profiles"
18331842
},
18341843
"doc": {

0 commit comments

Comments
 (0)