Hey everyone, Is there any way i can gradually inc...
# ask-community
n
Hey everyone, Is there any way i can gradually increase the concurrency of aa flow in prefect.
t
Hi Nimesh, What do you mean by concurrency? Task run concurrency? Concurrency limits on work pools?
1
n
On work pools
My problem is postgres database broke down when i gave 500 input for the inferencing. So i wanted to know is there way i can gradually increase the concurrency limit which will give me the point where the database broke. Of do i need to use binary search here
t
Binary search can work and you can use our REST API to modify the concurrency limits set on a given workpool. Here is our API Reference: https://docs.prefect.io/latest/api-ref/
n
Ohh okayy will surely look into this, Thanks