mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Report progress from server-side to keep client connections alive.
This way we make sure that 'receive_timeout' on client-side is triggered only when there is a real socket read timeout.
This commit is contained in:
parent
f0edecd755
commit
d846c0a9a6
@ -398,7 +398,7 @@ void TCPHandler::processOrdinaryQuery()
|
||||
}
|
||||
else
|
||||
{
|
||||
if (state.progress.rows && after_send_progress.elapsed() / 1000 >= query_context.getSettingsRef().interactive_delay)
|
||||
if (after_send_progress.elapsed() / 1000 >= query_context.getSettingsRef().interactive_delay)
|
||||
{
|
||||
/// Some time passed and there is a progress.
|
||||
after_send_progress.restart();
|
||||
|
Loading…
Reference in New Issue
Block a user