kyle 2 jaren geleden
bovenliggende
commit
3fab56f714
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4
    4
      app/Http/Services/Web/Api2021Service.php

+ 4
- 4
app/Http/Services/Web/Api2021Service.php Bestand weergeven

291
                     'User-Agent'   => 'ogilvy-' . env('APP_ENV'),
291
                     'User-Agent'   => 'ogilvy-' . env('APP_ENV'),
292
                     'Accept'       => '*/*',
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
             if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197'])) $req['proxy'] = env('CCH_PROXY');
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
                     'User-Agent'   => 'ogilvy-' . env('APP_ENV'),
994
                     'User-Agent'   => 'ogilvy-' . env('APP_ENV'),
995
                     'Accept'       => '*/*',
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
             if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197'])) $req['proxy'] = env('CCH_PROXY');
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