We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57cca34 commit 8c7ba73Copy full SHA for 8c7ba73
src/Qiniu/Config.php
@@ -3,7 +3,7 @@
3
4
final class Config
5
{
6
- const SDK_VER = '7.2.0';
+ const SDK_VER = '7.2.1';
7
8
const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改
9
@@ -121,14 +121,11 @@ private function getZone($accessKey, $bucket)
121
$cacheId = "$accessKey:$bucket";
122
123
if (isset($this->zoneCache[$cacheId])) {
124
- //print("from cache\n");
125
$zone = $this->zoneCache[$cacheId];
126
} elseif (isset($this->zone)) {
127
- //print("from set\n");
128
$zone = $this->zone;
129
$this->zoneCache[$cacheId] = $zone;
130
} else {
131
- //print("from query\n");
132
$zone = Zone::queryZone($accessKey, $bucket);
133
134
}
0 commit comments