Skip to content

Commit 2ee2212

Browse files
committed
remove region fog-cn-east-1
1 parent d88816c commit 2ee2212

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

QiniuSDK/Common/QNFixedZone.h

-13
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,6 @@ NS_ASSUME_NONNULL_BEGIN
6161
*/
6262
+ (instancetype)zoneAs0;
6363

64-
/**
65-
* zone fog-cn-east-1 雾存储 华东-1
66-
* 分片上传暂时仅支持分片 api v2
67-
* 分片 api v2设置方式:配置 QNConfiguration 的 resumeUploadVersion 为 QNResumeUploadVersionV2
68-
* eg:
69-
* QNConfiguration *configuration = [QNConfiguration build:^(QNConfigurationBuilder *builder) {
70-
* builder.resumeUploadVersion = QNResumeUploadVersionV2;
71-
* }];
72-
*
73-
* @return 实例
74-
*/
75-
+ (instancetype)zoneFogCnEast1;
76-
7764
/**
7865
* Zone初始化方法
7966
*

QiniuSDK/Common/QNFixedZone.m

+2-12
Original file line numberDiff line numberDiff line change
@@ -94,24 +94,14 @@ + (instancetype)zoneAs0 {
9494
return zAs0;
9595
}
9696

97-
+ (instancetype)zoneFogCnEast1 {
98-
static QNFixedZone *zFogCnEast1 = nil;
99-
static dispatch_once_t onceToken;
100-
dispatch_once(&onceToken, ^{
101-
zFogCnEast1 = [[QNFixedZone alloc] initWithUpDomainList:@[@"upload-fog-cn-east-1.qiniup.com",
102-
@"up-fog-cn-east-1.qiniup.com"]
103-
oldUpList:nil
104-
regionId:@"fog-cn-east-1"];;
105-
});
106-
return zFogCnEast1;
107-
}
108-
10997
+ (QNFixedZone *)localsZoneInfo{
11098

11199
NSArray *zones = @[[QNFixedZone zone0],
112100
[QNFixedZone zone1],
113101
[QNFixedZone zone2],
102+
[QNFixedZone zoneCnEast2],
114103
[QNFixedZone zoneNa0],
104+
[QNFixedZone zoneNorthEast1],
115105
[QNFixedZone zoneAs0]];
116106

117107
NSMutableArray <QNZoneInfo *> *zoneInfoArray = [NSMutableArray array];

0 commit comments

Comments
 (0)