|
@@ -291,8 +291,8 @@ class Api2021Service
|
291
|
291
|
'User-Agent' => 'ogilvy-' . env('APP_ENV'),
|
292
|
292
|
'Accept' => '*/*',
|
293
|
293
|
],
|
294
|
|
- 'timeout' => 15, // Response timeout
|
295
|
|
- 'connect_timeout' => 10, // Connection timeout
|
|
294
|
+ 'timeout' => 60, // Response timeout
|
|
295
|
+ 'connect_timeout' => 30, // Connection timeout
|
296
|
296
|
];
|
297
|
297
|
|
298
|
298
|
if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197'])) $req['proxy'] = env('CCH_PROXY');
|
|
@@ -994,8 +994,8 @@ class Api2021Service
|
994
|
994
|
'User-Agent' => 'ogilvy-' . env('APP_ENV'),
|
995
|
995
|
'Accept' => '*/*',
|
996
|
996
|
],
|
997
|
|
- 'timeout' => 15, // Response timeout
|
998
|
|
- 'connect_timeout' => 10, // Connection timeout
|
|
997
|
+ 'timeout' => 60, // Response timeout
|
|
998
|
+ 'connect_timeout' => 30, // Connection timeout
|
999
|
999
|
];
|
1000
|
1000
|
if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197'])) $req['proxy'] = env('CCH_PROXY');
|
1001
|
1001
|
|