O
O
olezhenka2017-04-02 20:29:39
JavaScript
olezhenka, 2017-04-02 20:29:39

How to stop accepting other new nodejs requests for 10 seconds on every request?

So, if I received a request in my case about captcha, then I need to stop the script for 10 seconds so that new captcha requests do not come again until this captcha is solved on rucaptcha, I came up with such a script:
8749480fb701405cb4ae44e552a759eb.PNG
it naturally does not work, because I wrote it. Help me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2017-04-02
@olezhenka

Try removing return before captcha

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question