Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config receive_timeout and send_timeout not work #146

Open
gclinux opened this issue Jun 8, 2023 · 0 comments
Open

config receive_timeout and send_timeout not work #146

gclinux opened this issue Jun 8, 2023 · 0 comments

Comments

@gclinux
Copy link

gclinux commented Jun 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant