mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 23:13:11 -06:00
mediaapi/writers/download: Remove duplicate log message
This commit is contained in:
parent
a8b7130745
commit
c43aa20adc
|
|
@ -157,10 +157,6 @@ func Download(w http.ResponseWriter, req *http.Request, origin types.ServerName,
|
||||||
activeRemoteRequestCondition.Wait()
|
activeRemoteRequestCondition.Wait()
|
||||||
activeRemoteRequests.Unlock()
|
activeRemoteRequests.Unlock()
|
||||||
} else {
|
} else {
|
||||||
r.Logger.WithFields(log.Fields{
|
|
||||||
"MediaID": r.MediaMetadata.MediaID,
|
|
||||||
"Origin": r.MediaMetadata.Origin,
|
|
||||||
}).Infof("Fetching remote file")
|
|
||||||
activeRemoteRequests.Set[mxcURL] = &sync.Cond{L: activeRemoteRequests}
|
activeRemoteRequests.Set[mxcURL] = &sync.Cond{L: activeRemoteRequests}
|
||||||
activeRemoteRequests.Unlock()
|
activeRemoteRequests.Unlock()
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue