I have setup a message queue with Google Pubsub. Everything works fine. The only issue is that all tasks are run simoultanously (ok, currently it's only 3 tasks). As they are fairly heavy weight on the target server it has some issues with it.
My solution would be to process one task, wait until it's completed and the run it again. Unfortunately I haven't found anything in the Python library to set a MaxProcessing.
How would I do this?