S
S
Slaxik2021-03-08 13:37:09
Express.js
Slaxik, 2021-03-08 13:37:09

Express routing?

Good afternoon, when requesting '/test1', an algorithm is executed that touches the database and takes about 30 seconds, is it possible to make it so that if user #1 starts this route, and user #2 waits for user #1 to complete the algorithm and only then starts it for yourself?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question