You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,7 @@ These are some environment variables that can be used to customise the behaviour
177
177
-`OTF_LOG_JSON` - Stderr logging will be in JSON format. Set to `1` to enable
178
178
-`OTF_LOG_DIRECTORY` - Path under which log files are written
179
179
-`OTF_NO_THREAD_SLEEP` - Disable the 1-second sleep between batch task thread creation. This sleep exists to prevent race conditions with concurrent protocol imports. Only disable this if you understand the implications. Set to `1` to disable.
180
+
-`OTF_BATCH_POLL_INTERVAL` - Interval in seconds between batch status-check loop iterations (default: `5`). Reducing this makes batches respond faster when tasks complete, at the cost of higher CPU polling overhead. **Intended for testing only — do not change in production unless you fully understand the trade-offs.**
180
181
-`OTF_RUN_ID` - (meant for internal use) An aggregator for log files. When set, all log files for a run will go under this sub directory. E.g. running a batch, all execution and transfer logs will be dropped into this sub directory, rather than a directory for each task name. This is equivalent to using `-r` or `--runId` command line arguments, which is generally preferred.
181
182
-`OTF_SSH_KEY` - The private SSH key to use by default for all SSH connections. This is essential when using a basic docker container to trigger OTF. If not specified, it will default to use any private SSH keys available to the user executing the application.
182
183
-`OTF_STAGING_DIR` - Staging base directory to place files before they're dropped into their final location. Default is `/tmp`
|`OTF_LAZY_LOAD_VARIABLES`| Set to `1` to only resolve variables that are referenced by the current task |
128
+
|`OTF_NO_THREAD_SLEEP`| Set to `1` to disable the 1-second sleep between batch task thread creation |
129
+
|`OTF_BATCH_POLL_INTERVAL`| Interval in seconds between batch status-check iterations (default: `5`). **Testing only** — do not lower in production without understanding the trade-offs |
130
+
|`OTF_PARAMIKO_ULTRA_DEBUG`| Set to `1` to enable ultra-verbose Paramiko SSH debug output (SFTP only) |
Copy file name to clipboardExpand all lines: src/opentaskpy/cli/task_run.py
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ def main() -> None:
30
30
OTF_LOG_LEVEL - Equivalent to using -v
31
31
OTF_LOG_INIT_EVENTS - Enable logging of log initialisation events. Set to 1 to enable
32
32
OTF_NO_THREAD_SLEEP - Disable the 1-second sleep between batch task thread creation. Set to 1 to disable
33
+
OTF_BATCH_POLL_INTERVAL - Interval in seconds between batch status-check iterations (default: 5). Intended for testing only; do not lower in production without understanding the trade-offs
33
34
OTF_SSH_KEY - Specify a particular SSH key to use for SSH/SFTP related transfers
34
35
OTF_STAGING_DIR - Staging base directory to place files before final location. Default is /tmp
35
36
OTF_BATCH_RESUME_LOG_DATE - Resume batch runs from a specific date in YYYYMMDD format
0 commit comments