LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
680 stars 165 forks source link

BinanceWebSocketApiManager.get_current_receiving_speed_global() - RuntimeError: dictionary changed size during iteration #123

Closed rodrigomfw closed 3 years ago

rodrigomfw commented 3 years ago

Hi, can someone explain to me why this message shows up around 4 times a day?

ERROR:root:BinanceWebSocketApiManager.get_current_receiving_speed_global() - RuntimeError: dictionary changed size during iteration

I'm only using a stream with ~250 subscriptions.

This error has no impact on performance, the program keeps running without issues, but I would like to know what is the cause and how to stop the message from appearing.

oliver-zehentleitner commented 3 years ago

This is only used to measure the highest_receiving_speed and if the error is detected it just do nothing and get restarted within a second again.

Nothing to worry about, it will be removed from the logs within the next 1-2 releases.