C
C
ch-aqwer2018-10-28 21:17:53
React
ch-aqwer, 2018-10-28 21:17:53

How to fix 429 error in react?

Good afternoon! Please tell me how to fix the situation?
There is a project on react/redux, there is routing
, and when you quickly switch between routes, for example 10 times, I get a lot of 429 errors.
The question is how to fix it on the client side?
I will be grateful!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Aves, 2015-09-05
@Zaher220

The problem is the absence #!/bin/bashin dts-service.sh
Or you need to write in the unit

ExecStart=/bin/sh -c '/home/dts/bin/dts-service.sh'

Well, Type=forking is only needed if ./khconsole forks & and dts-service.sh exits. Without this, Type needs simple, that is, you can not specify it.

K
Konkase, 2015-09-04
@Konkase

Better shove it into the unit, what is in the dts-service.sh script, or try using oneshot instead of forking

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question