add a response timeout to HTTP task in order to avoid starvation

This commit is contained in:
dcore94 2024-03-08 16:35:03 +01:00
parent 274d7a54ee
commit 55bcc853e5
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ class Plugin(PyExecPlugin):
taskdef = {
"name" : "pyrest",
"responseTimeoutSeconds" : 15,
"description" : "Execute an HTTP request with pyrest worker",
"inputKeys" : ["url", "body", "contentType", "method", "accept", "headers", "connectionTimeout", "readTimeout"],
"outputKeys" : ["body", "status", "reason", "headers"],