kyle 2 years ago
parent
commit
561e1dbe34
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      app/Http/Services/Web/Api2021Service.php

+ 4
- 4
app/Http/Services/Web/Api2021Service.php View File

291
                     'User-Agent'   => 'ogilvy-' . env('APP_ENV'),
291
                     'User-Agent'   => 'ogilvy-' . env('APP_ENV'),
292
                     'Accept'       => '*/*',
292
                     'Accept'       => '*/*',
293
                 ],
293
                 ],
294
-                'timeout' => 60, // Response timeout
295
-                'connect_timeout' => 30, // Connection timeout
294
+                'timeout' => 20, // Response timeout
295
+                'connect_timeout' => 15, // Connection timeout
296
                 'on_stats' => function (\GuzzleHttp\TransferStats $stats) use ($rqid) {
296
                 'on_stats' => function (\GuzzleHttp\TransferStats $stats) use ($rqid) {
297
                     if ($stats->hasResponse()) {
297
                     if ($stats->hasResponse()) {
298
                         $this->debuglog('lineFriendCheck-on_stats_ok', [
298
                         $this->debuglog('lineFriendCheck-on_stats_ok', [
1014
                     'User-Agent'   => 'ogilvy-' . env('APP_ENV'),
1014
                     'User-Agent'   => 'ogilvy-' . env('APP_ENV'),
1015
                     'Accept'       => '*/*',
1015
                     'Accept'       => '*/*',
1016
                 ],
1016
                 ],
1017
-                'timeout' => 60, // Response timeout
1018
-                'connect_timeout' => 30, // Connection timeout
1017
+                'timeout' => 20, // Response timeout
1018
+                'connect_timeout' => 15, // Connection timeout
1019
                 'on_stats' => function (\GuzzleHttp\TransferStats $stats) use ($rqid) {
1019
                 'on_stats' => function (\GuzzleHttp\TransferStats $stats) use ($rqid) {
1020
                     if ($stats->hasResponse()) {
1020
                     if ($stats->hasResponse()) {
1021
                         $this->debuglog('playerTag-on_stats_ok', [
1021
                         $this->debuglog('playerTag-on_stats_ok', [