renproject / aw

A flexible P2P networking library for upgradable distributed systems.
MIT License
38 stars 18 forks source link

Delete expired pending sync requests #95

Closed ross-pure closed 2 years ago

ross-pure commented 2 years ago

This PR fixes an issue where pending syncs that have expired contexts will remain in the pendingSyncs map, which means that this map can fill up and erroneously prevent future syncs.