|
@@ -70,12 +70,12 @@ import platform
|
|
|
if platform.system()=="windows":
|
|
|
OTS_URL = "https://bxkc-ots.cn-hangzhou.ots.aliyuncs.com"
|
|
|
else:
|
|
|
- OTS_URL = "https://bxkc-ots.cn-hangzhou.ots-internal.aliyuncs.com"
|
|
|
+ OTS_URL = "https://bxkc-ots.cn-hangzhou.vpc.tablestore.aliyuncs.com"
|
|
|
|
|
|
def getConnect_ots():
|
|
|
ots_client = tablestore.client.OTSClient(OTS_URL, 'LTAI4G2bwraGDYQ4S5hhCxht', 'k6Llfa0S1KuvYyU2cWchExdQjPGJOY',
|
|
|
'bxkc-ots', logger_name = 'table_store.log',
|
|
|
- retry_policy = tablestore.WriteRetryPolicy())
|
|
|
+ retry_policy = tablestore.WriteRetryPolicy(),socket_timeout=120)
|
|
|
return ots_client
|
|
|
|
|
|
def getConnect_gdb():
|