leancloud / php-sdk

LeanCloud PHP SDK
Apache License 2.0
53 stars 23 forks source link

feat: Custome api timeout support #211

Closed alberthuang24 closed 4 years ago

alberthuang24 commented 4 years ago

In order to prevent excessive timeouts from causing the overall collapse of customers, So allow customers to set a custom timeout according to their own situation.

codecov[bot] commented 4 years ago

Codecov Report

Merging #211 into master will decrease coverage by 0.05%. The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #211      +/-   ##
============================================
- Coverage     66.98%   66.92%   -0.06%     
- Complexity      803      804       +1     
============================================
  Files            36       36              
  Lines          2293     2295       +2     
============================================
  Hits           1536     1536              
- Misses          757      759       +2     
Impacted Files Coverage Δ Complexity Δ
src/LeanCloud/Client.php 83.47% <0.00%> (-0.70%) 96.00 <1.00> (+1.00) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 445cd22...7b7da13. Read the comment docs.