Skip to content

Commit

Permalink
chore: change default hosts for querying regions
Browse files Browse the repository at this point in the history
  • Loading branch information
lihsai0 committed Aug 12, 2024
1 parent 9ffb8f6 commit 04c50c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qiniu/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
RSF_HOST = 'http://rsf.qbox.me' # 列举操作Host
API_HOST = 'http://api.qiniuapi.com' # 数据处理操作Host
UC_HOST = 'https://uc.qbox.me' # 获取空间信息Host
QUERY_REGION_HOST = 'https://kodo-config.qiniuapi.com'
QUERY_REGION_HOST = 'https://uc.qiniuapi.com'
QUERY_REGION_BACKUP_HOSTS = [
'uc.qbox.me',
'api.qiniu.com'
'kodo-config.qiniuapi.com',
'uc.qbox.me'
]

_BLOCK_SIZE = 1024 * 1024 * 4 # 断点续传分块大小,该参数为接口规格,暂不支持修改
Expand Down

0 comments on commit 04c50c4

Please sign in to comment.