mediaapi/types: Clarify what is ActiveRemoteRequests.Set's key

This commit is contained in:
Robert Swain 2017-05-18 12:19:03 +02:00
parent 28ef35d36a
commit 8085c1f863

View file

@ -63,5 +63,6 @@ type MediaMetadata struct {
// It is used for ensuring multiple requests for the same file do not clobber each other.
type ActiveRemoteRequests struct {
sync.Mutex
// The string key is an mxc:// URL
Set map[string]*sync.Cond
}