mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-08 07:23:10 -06:00
mediaapi/writers/download: Clarify log message that file is remote
This commit is contained in:
parent
5e66ad6d39
commit
ef7dc8c8c5
|
|
@ -153,7 +153,7 @@ func Download(w http.ResponseWriter, req *http.Request, origin types.ServerName,
|
||||||
logger.WithFields(log.Fields{
|
logger.WithFields(log.Fields{
|
||||||
"Origin": r.MediaMetadata.Origin,
|
"Origin": r.MediaMetadata.Origin,
|
||||||
"MediaID": r.MediaMetadata.MediaID,
|
"MediaID": r.MediaMetadata.MediaID,
|
||||||
}).Infof("Waiting for another goroutine to fetch the file.")
|
}).Infof("Waiting for another goroutine to fetch the remote file.")
|
||||||
activeRemoteRequestCondition.Wait()
|
activeRemoteRequestCondition.Wait()
|
||||||
activeRemoteRequests.Unlock()
|
activeRemoteRequests.Unlock()
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue