restbed
restbed copied to clipboard
Concurrent request handling for a single route
Hi! So I've setup the multithreading using the set_worker_limit() function. I've setup a very simple test with an infinite loop to check if this worked and yes it works perfectly for different routes!
My issue is that there doesn't seem to be any concurrency possible for the same route.
In other words, if you have route1 and route2 setup and call both of them, they will execute at the same time. This is good. But if you call route1 twice, it will execute the second request only after the first request has completed.
Is this by design or could we check for a fix?
Thanks!
This is not by design and we will have to dig deeper into the issue.