Eggjs has one request and executed many interface functions

an online lottery item (eggjs+mysql) that occasionally has duplicate data in the database. I looked at the request log and found that two of the same requests were printed twice, resulting in two requests for interface functions. I don"t know if it is caused by request blocking under concurrent requests, how to solve it? Please give guidance to Daniel!

Apr.01,2021
Menu