未验证 提交 3fd89cd7 编写于 作者: D Dong Daxiang 提交者: GitHub

Merge pull request #456 from barrierye/issue-447

use memory address instead of timestamp
......@@ -18,7 +18,6 @@ import os
from .proto import sdk_configure_pb2 as sdk
from .proto import general_model_config_pb2 as m_config
import google.protobuf.text_format
import time
import sys
int_type = 0
......@@ -156,8 +155,7 @@ class Client(object):
)
else:
if self.predictor_sdk_ is None:
timestamp = time.time()
self.add_variant('default_tag_{}'.format(timestamp), endpoints,
self.add_variant('default_tag_{}'.format(id(self)), endpoints,
100)
else:
print(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册