Duplication of method execution in two different threads. #11939
Unanswered
ElVargas95
asked this question in
Q&A
Replies: 1 comment
-
Sorry, I do not fully understand. So the method is an action method and you do send data TO an ajax client? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using Play Framework 2.8.20 for Java, and we are facing an issue with a method that we are consuming through an Ajax client. The problem we are encountering is that when executing the transaction, as it is a heavy transaction, the method reaches a point where it spawns another thread and starts its execution again. This leads to the method's execution being duplicated twice, which is a serious issue in production. What can we do to prevent the server from making these double attempts without notifying it?
Beta Was this translation helpful? Give feedback.
All reactions