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
Currently, the QGB is using context extensively to communicate. This can be improved via the use of a signaling channel.
This PR is an example of how to do it: #512 in here:
Yes, exactly. We have multiple functions waiting for a signal to stop processing. Currently, we're forced to use context timeouts and cancells in a complex way to notify all threads. However, we can use an easier mechanism using a special notify channel that can be used to trap any error or exit signal and notify everything to stop.
Currently, the QGB is using context extensively to communicate. This can be improved via the use of a signaling channel.
This PR is an example of how to do it: #512 in here:
celestia-app/x/qgb/orchestrator/orchestrator_command.go
Lines 77 to 86 in 7169d9a
The text was updated successfully, but these errors were encountered: