chproxy icon indicating copy to clipboard operation
chproxy copied to clipboard

identical request should be able to be refused after grace time elapse

Open nineteenthSpring opened this issue 5 years ago • 1 comments

I think identical request should be able to be refused after grace time elapse. but I spot that all remain requests have been delegated to clickhouse servers after first request timeout. and no options can be configured. when set grace_time: -1s, the server can't be started. display error: can't load config "/data/service/ck-proxy/config.yml": not a valid duration string: "-1s"

nineteenthSpring avatar Jul 04 '19 11:07 nineteenthSpring

Thanks for report! It looks like a bug to me but I can't provide no guarantees when it will be fixed. PR's are welcome. cc @valyala

hagen1778 avatar Jul 04 '19 18:07 hagen1778

Fix for that has been released following the commit #146

gontarzpawel avatar Sep 15 '22 19:09 gontarzpawel