Queue jobs in an app when calling jobs from another app

I am sending jobs from app A to app B using the viktor API. Is there a way to queue the jobs in app B, such that they are not executed at the same time, in the case that two seperate instances from app B are executed at the same time?

Hi Ashkan,

Published apps automatically scale to multiple instances to handle load and allow multiple users using your app simultaneously.

You can wait until the request returns to run them sequentially, however, there is no guarantee that subsequent requests are picked up by the same app replica.

Can you elaborate on your use case? What do you want to achieve? Why is the current situation a limitation for your use case?

Regards,

Raoul