-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsynchronous-compute-settings.yaml
81 lines (60 loc) · 2.45 KB
/
synchronous-compute-settings.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
# options for service initialization
init:
# URL of the compute API to execute Tasks for.
api_url: http://compute.alchemiscale.internal
# Identifier for the compute identity used for authentication.
identifier: compute-identity
# Credential for the compute identity used for authentication.
key: "compute-identity-key"
# The name to give this compute service; used for Task provenance, so
# typically set to a distinct value to distinguish different compute
# resources, e.g. different hosts or HPC clusters.
name: compute-resource-name
# Filesystem path to use for `ProtocolDAG` `shared` space.
shared_basedir: "./shared"
# Filesystem path to use for `ProtocolUnit` `scratch` space.
scratch_basedir: "./scratch"
# If True, don't remove shared directories for `ProtocolDAG`s after
# completion.
keep_shared: False
# If True, don't remove scratch directories for `ProtocolUnit`s after
# completion.
keep_scratch: False
# Time in seconds to sleep if no Tasks claimed from compute API.
sleep_interval: 30
# Frequency at which to send heartbeats to compute API.
heartbeat_interval: 300
# Scopes to limit Task claiming to; defaults to all Scopes accessible by
# compute identity.
scopes:
- '*-*-*'
# Maximum number of Tasks to claim at a time from a TaskHub.
claim_limit: 1
# The loglevel at which to report via STDOUT; see the :mod:`logging` docs for
# available levels.
loglevel: 'INFO'
# Path to file for logging output; if not set, logging will only go to
# STDOUT.
logfile: null
# Maximum number of times to retry a request. In the case the API service is
# unresponsive an expoenential backoff is applied with retries until this
# number is reached. If set to -1, retries will continue indefinitely until
# success.
client_max_retries: 5
# The base number of seconds to use for exponential backoff. Must be greater
# than 1.0.
client_retry_base_seconds: 2.0
# Maximum number of seconds to sleep between retries; avoids runaway
# exponential backoff while allowing for many retries.
client_retry_max_seconds: 60.0
# Whether to verify SSL certificate presented by the API server.
client_verify: true
# options for service execution
start:
# Max number of Tasks to execute before exiting. If `null`, the service will
# have no task limit.
max_tasks: null
# Max number of seconds to run before exiting. If `null`, the service will
# have no time limit.
max_time: null