ShannonAI / service-streamer

Boosting your Web Services of Deep Learning Applications.
Apache License 2.0
1.22k stars 187 forks source link

self._task_id 问题 #78

Open yongzhuo opened 4 years ago

yongzhuo commented 4 years ago

service-streamer的_BaseStreamer类中:

task_id = self._task_id
self._task_id += 1

这里task_id一直自增, 当访问量很大的时候task_id会变成特别大的数字, 不知道这时候置零可以不。