Use HTTP pipelining in Giphy asset requests.

// FREEBIE
pull/1/head
Matthew Chen 7 years ago
parent 98af9bcc65
commit 7041f976d5

@ -707,8 +707,8 @@ extension URLSessionTask {
private func popNextAssetRequest() -> GiphyAssetRequest? {
AssertIsOnMainThread()
let kMaxAssetRequestCount: UInt = 5
let kMaxAssetRequestsPerAssetCount: UInt = 5
let kMaxAssetRequestCount: UInt = 3
let kMaxAssetRequestsPerAssetCount: UInt = kMaxAssetRequestCount - 1
// Prefer the first "high" priority request;
// fall back to the first "low" priority request.

Loading…
Cancel
Save