QwantResearch / text-classifier

An HTTP Rest and gRPC server for text classification
Apache License 2.0
5 stars 2 forks source link

Fix text-classifier to make it thread-safe #33

Closed maudetes closed 4 years ago

maudetes commented 4 years ago

When querying text-classifier concurrently, text-classifier sometimes end up with segmentation fault.

Make text-classifier thread-safe.

maudetes commented 4 years ago

It appears that the issue comes from the qtokenizer library. It has been fixed in this PR: https://github.com/QwantResearch/qnlp-toolkit/pull/2.

cservan commented 4 years ago

Done!