RSS3-Network / Node

In the vast RSS3 Network, the RSS3 Node delivers Open Information with efficiency, it is a steadfast cruiser in the byte-filled sea.
MIT License
22 stars 3 forks source link

fix: non-existent activity blocking #313

Closed brucexc closed 4 months ago

brucexc commented 4 months ago

Summary

Return gracefully when encountering a non-existent activity to avoid blocking.

Checklist

Does this PR introduce a breaking change?

Other information

kallydev commented 4 months ago

Maybe we could use https://pkg.go.dev/sync/atomic instead of chan.

brucexc commented 4 months ago

https://github.com/RSS3-Network/Node/pull/317 has solved