TimonKK/clickhouse

config receive_timeout and send_timeout not work

gclinux opened this issue · 0 comments

the sql:
`INSERT INTO penta.fast_report SELECT * FROM remote('${formClickhouse.host}', test,test, '${formClickhouse.basicAuth.username}', '${formClickhouse.basicAuth.password}') WHERE start_time<1667836800 AND start_time >1667232000`

I need to change config user.xml to make sure the remote not timeout

<receive_timeout>800</receive_timeout>
<send_timeout>800</send_timeout>

config:

{
       url: 'http://127.0.0.1',
	port: 8123,
	debug: true,
	basicAuth:  {
        username: 'default',
        password: '2222',
    },
	isUseGzip: true,
	trimQuery: false,
	usePost: false,
	format: "json", // "json" || "csv" || "tsv"
	raw: false,
    config:{
        **receive_timeout:800,**
        send_timeout:800,
        session_timeout:100,
    }
}

it still is 50ms
not work