mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 23:13:11 -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.
|
// It is used for ensuring multiple requests for the same file do not clobber each other.
|
||||||
type ActiveRemoteRequests struct {
|
type ActiveRemoteRequests struct {
|
||||||
sync.Mutex
|
sync.Mutex
|
||||||
|
// The string key is an mxc:// URL
|
||||||
Set map[string]*sync.Cond
|
Set map[string]*sync.Cond
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue