You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed: ContextClickHouseClient rounded the remaining budget up to whole
seconds (1.2 s left became 2 s), and turned a configured max_execution_time => 0 (unlimited) into 1 second. The budget is now passed
in fractional seconds; a looser or unlimited configured value is replaced
by it (#41).
Fixed: a deadline passing between the check and reading the budget could
produce max_execution_time = 0, i.e. unlimited; the budget is now read
before the check.
Added: ContextClickHouseClient sets cancel_http_readonly_queries_on_client_close=1 unless the caller set it, so
the server stops a read-only query when the HTTP client gives up (#42).