Concurrent request with enqueue not working!

Hello Everyone,

I’m facing an issue while my frappe backend api receiving multiple request and update the same doctype. the issue said below:

Error: Document has been modified after you have opened it

I just wonder that I can fixed this issue with enqueue, unfortunately the queue not working properly, while 1 doctype is on process another queue is coming up.

Is there any solution or perhaps you guys ever do the same mistake as I did, please kindly share your suggestion.

cc: @rmeyer

regards,
Suhada

You’ll need to share more details on what exactly you’re trying to do.