ShannonAI / service-streamer

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

Configurable WORKER_TIMEOUT #76

Closed yohokuno closed 4 years ago

yohokuno commented 4 years ago

Hi guys,

I made a tiny improvement on service_streamer to make WORKER_TIMEOUT configurable. In some applications such as machine translation, prediction time can exceed WORKER_TIMEOUT. This solves the problem by making WORKER_TIMEOUT configurable for users when Streamer is created.

Sorry for dirty commits - please squash them when merging.

Meteorix commented 4 years ago

@yohokuno thanks for your PR.