Open ndvbd opened 6 years ago
There are some models that take long time compute, and then query.py throws DEADLINE_EXCEEDED error.
I solved this by changing
flags.DEFINE_integer("timeout_secs", 10, "Timeout for query.")
to 60 seconds.
I recommend throwing a better exception, with some explanation: "Try to increase timeout_secs in order to solve this problem"
Would welcome a PR
There are some models that take long time compute, and then query.py throws DEADLINE_EXCEEDED error.
I solved this by changing
flags.DEFINE_integer("timeout_secs", 10, "Timeout for query.")
to 60 seconds.
I recommend throwing a better exception, with some explanation: "Try to increase timeout_secs in order to solve this problem"