mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
mediaapi/types: Clarify what is ActiveRemoteRequests.Set's key
This commit is contained in:
parent
28ef35d36a
commit
8085c1f863
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue