use fastDebug everywhere it can be used
None of these are likely to yeild a noticable speedup though.
This commit is contained in:
parent
d16d739ce2
commit
13c090b37a
16 changed files with 17 additions and 28 deletions
|
@ -39,7 +39,6 @@ import Backend.Hash
|
|||
import Utility.Hash
|
||||
import Utility.SshHost
|
||||
import Utility.Url
|
||||
import Utility.Debug
|
||||
import Logs.Remote
|
||||
import Logs.RemoteState
|
||||
import qualified Git.Config
|
||||
|
@ -349,11 +348,11 @@ makeSmallAPIRequest :: Request -> Annex (Response L.ByteString)
|
|||
makeSmallAPIRequest req = do
|
||||
uo <- getUrlOptions
|
||||
let req' = applyRequest uo req
|
||||
liftIO $ debug "Remote.GitLFS" (show req')
|
||||
fastDebug "Remote.GitLFS" (show req')
|
||||
resp <- liftIO $ httpLbs req' (httpManager uo)
|
||||
-- Only debug the http status code, not the json
|
||||
-- which may include an authentication token.
|
||||
liftIO $ debug "Remote.GitLFS" (show $ responseStatus resp)
|
||||
fastDebug "Remote.GitLFS" (show $ responseStatus resp)
|
||||
return resp
|
||||
|
||||
sendTransferRequest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue