beeb / pancaketrade

Limit orders for PancakeSwap
GNU General Public License v3.0
200 stars 92 forks source link

maximum number of running instances reached (1) #33

Closed kosztik closed 2 years ago

kosztik commented 2 years ago

Hi,

Thank you for this great software! running it from docker. sometimes got these warnings.

WARNING |Execution of job "TokenWatcher.monitor_price (trigger: interval[0:00:05], next run at: 2021-10-25 09:55:53 UTC)" skipped: maximum number of running instances reached (1)

After a container stop-start its gone.

Maybe I ask too much /status in telegram?

regards Istvan

beeb commented 2 years ago

The script normally monitors the price for all assets (by default) every 5 seconds. If the act of retrieving the price for all tokens takes a longer time than 5 seconds (because the RPC is throttling requests or the internet connection is too slow for example), then the next iteration will be skipped until the thread is free again. This is just a warning and not a bug.