From 8085c1f8635c54352da62f80b13195e5c881fa4b Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Thu, 18 May 2017 12:19:03 +0200 Subject: [PATCH] mediaapi/types: Clarify what is ActiveRemoteRequests.Set's key --- src/github.com/matrix-org/dendrite/mediaapi/types/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/github.com/matrix-org/dendrite/mediaapi/types/types.go b/src/github.com/matrix-org/dendrite/mediaapi/types/types.go index 2e17ddad1..0da5b1017 100644 --- a/src/github.com/matrix-org/dendrite/mediaapi/types/types.go +++ b/src/github.com/matrix-org/dendrite/mediaapi/types/types.go @@ -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 }