Skip to content

Commit

Permalink
Merge pull request #3899 from kiy0taka/fix/package-api-timeout
Browse files Browse the repository at this point in the history
パッケージAPIのタイムアウトを5000msに設定
  • Loading branch information
okazy authored Oct 3, 2018
2 parents d0f80ac + 6b613eb commit f82af14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Eccube/Service/PluginApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ public function requestApi($url, $data = [], $post = false)
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FAILONERROR => true,
CURLOPT_CAINFO => \Composer\CaBundle\CaBundle::getSystemCaRootBundlePath(),
CURLOPT_TIMEOUT_MS => 5000,
];

// Set option value
Expand Down

0 comments on commit f82af14

Please sign in to comment.