mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -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()
|
||||
activeRemoteRequests.Unlock()
|
||||
} 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.Unlock()
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue