修改超时

This commit is contained in:
xsean 2025-11-21 09:43:10 +08:00
parent 17894d4301
commit 0d4ebde870
3 changed files with 10 additions and 42 deletions

44
ips.txt
View File

@ -1,40 +1,4 @@
172.29.107.21
172.29.109.20
172.29.109.12
172.29.107.28
172.29.109.19
172.30.8.124
172.29.107.14
172.29.107.15
172.29.109.22
172.29.107.22
172.29.107.27
172.29.107.24
172.29.107.29
172.29.109.15
172.29.109.28
172.29.107.11
172.29.107.23
172.29.107.13
172.29.107.16
172.29.109.27
172.29.107.18
172.29.109.21
172.29.109.14
172.29.109.33
172.29.109.31
172.29.107.32
172.29.109.16
172.29.107.20
172.29.109.13
172.29.109.25
172.29.107.30
172.29.107.26
172.29.109.18
172.29.107.17
172.29.107.12
172.29.107.25
172.29.109.32
172.30.8.125
172.29.109.17
172.29.109.24
172.29.131.10
172.29.105.14
172.29.105.29
172.29.131.20

View File

@ -8,7 +8,6 @@ target 'playbtest' do
# Pods for playbtest
pod 'AppLovinSDK','13.3.1'
pod 'AppLovinDSPLinkedInAdapter'
pod 'AppLovinMediationVungleAdapter'
pod 'AppLovinMediationMintegralAdapter'

View File

@ -248,7 +248,7 @@ class BbbAdManager: NSObject {
var openADTimer:Timer?
let kOpenADPerSec: CGFloat = 0.1 //
let kOpenAdCTimeLength: CGFloat = 40 //
let kOpenAdCTimeLength: CGFloat = 120 //
static var totalTimeC: CGFloat = 0.0
@ -436,6 +436,11 @@ class BbbAdManager: NSObject {
BbbAdManager.totalTimeC += kOpenADPerSec
if BbbAdManager.shared.isEnd() || BbbAdManager.totalTimeC >= kOpenAdCTimeLength {
DispatchQueue.global(qos: .utility).async { [weak self] in
guard self != nil else { return }
let time:Int = Int(BbbAdManager.totalTimeC * 1000)
YL_NetWorkManager.uploadAD_Load(adid: "", ecpm: 0.0, network: "", countryCode: "", platformResponseTime:0.0 , dsp: "", loadTime:time,succeed:false,errorMsg: "load timeout > 120s")
}
NSLog("xyz 1")
openADTimer?.invalidate()
openADTimer = nil