Closed ericxtang closed 6 years ago
Add a cache for outgoing MasterPlaylistReq and MasterPlaylistData messages.
The timecache library is forked from https://github.com/whyrusleeping/timecache. I added a sweep during Has, so that the time duration will be take into account in both Add and Has. https://github.com/whyrusleeping/timecache/compare/master...ericxtang:master
sweep
Has
Add
LGTM, ok for goclient 🚢
Add a cache for outgoing MasterPlaylistReq and MasterPlaylistData messages.
The timecache library is forked from https://github.com/whyrusleeping/timecache. I added a
sweep
duringHas
, so that the time duration will be take into account in bothAdd
andHas
. https://github.com/whyrusleeping/timecache/compare/master...ericxtang:master