summaryrefslogtreecommitdiffstats
path: root/config.toml
diff options
context:
space:
mode:
authorChristoph Prokop <christoph.prokop@atos.net>2021-04-13 10:49:54 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-13 11:28:58 +0200
commit441ae36017058ecbf66951c26176f24fb809471d (patch)
tree4d606c6f4ccc4c85fd451c91f132da0ee7cfd224 /config.toml
parentb1d9a89c93eb500bfd14f236830b8bdc73f2ee74 (diff)
Add configurable timeout
This patch adds a configurable timeout value (default 10 seconds) in the Endpoint struct. This way we get an error if the connection to the endpoint is stalled. Signed-off-by: Christoph Prokop <christoph.prokop@atos.net> Pair-programmed-with: Matthias Beyer <matthias.beyer@atos.net> Suggested-by: Matthias Beyer <matthias.beyer@atos.net> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index 46fc7cc..79f341a 100644
--- a/config.toml
+++ b/config.toml
@@ -173,6 +173,8 @@ verify_images_present = true
[docker.endpoints.testhostname]
uri = "http://0.0.0.0:8095" # the URI of the endpoint. Either http or socket path
endpoint_type = "http" # either "http" or "socket"
+# optional timeout for connecting to endpoint in seconds, default: 10 seconds
+# timeout = 5
# maximum number of jobs running on this endpoint.
# Set this to a reasonable high number to be able to run a lot of small jobs.