You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Currently, there is no runtime warnings generated if some of unbounded channels are not polled and the messages keep accumulating and leak memory.
As suggested in https://github.com/paritytech/devops/issues/2085#issuecomment-1321726923 we should track the number of messages in flight in the channel when they are sent here and generate a runtime error if this number exceeds the threshold (one hundred thousand messages was suggested as a good number that should never be triggered under the normal circumstances).
When the error is triggered, it should print to the logs the relevant info about the Receiver that is not getting polled: the name of the Receiver and the the backtrace of where it was constructed.