remove async insert
This commit is contained in:
@@ -11,7 +11,6 @@ import {
|
|||||||
import { ch } from '../clickhouse/client';
|
import { ch } from '../clickhouse/client';
|
||||||
|
|
||||||
const clickhouseSettings = {
|
const clickhouseSettings = {
|
||||||
async_insert: 1,
|
|
||||||
http_headers_progress_interval_ms: '50000',
|
http_headers_progress_interval_ms: '50000',
|
||||||
input_format_parallel_parsing: 1,
|
input_format_parallel_parsing: 1,
|
||||||
max_execution_time: 300,
|
max_execution_time: 300,
|
||||||
|
|||||||
@@ -135,7 +135,6 @@ export const ch = new Proxy(originalCh, {
|
|||||||
withRetry(() => {
|
withRetry(() => {
|
||||||
args[0].clickhouse_settings = {
|
args[0].clickhouse_settings = {
|
||||||
// Allow bigger HTTP payloads/time to stream rows
|
// Allow bigger HTTP payloads/time to stream rows
|
||||||
async_insert: 1,
|
|
||||||
wait_for_async_insert: 1,
|
wait_for_async_insert: 1,
|
||||||
// Increase insert timeouts and buffer sizes for large batches
|
// Increase insert timeouts and buffer sizes for large batches
|
||||||
max_execution_time: 300,
|
max_execution_time: 300,
|
||||||
|
|||||||
Reference in New Issue
Block a user