import requests
import json
url = "<https://IP>:port/api/work_queues/"
payload = json.dumps({
"name": "algo-402-4563",
"description": "This work queue is for algorithm 402 and project ID 4563",
"is_paused": False,
"concurrency_limit": 10
})
headers = {
'Authorization': 'Basic bmltZXNoLnBybmltZXNoLnByZWZlY3Q='
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Hi Everyone, i have created work-queue using the above code which is created successfuly, but it is in unhealty state,
is there way to make the queue healthy from the code itself.
The goal is to create a queue only when it requires, so thought process was to create it with an API but it is in unhealthy state.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.