From 3ced57ec986160b2bb69afc502bb0abd7e7febbc Mon Sep 17 00:00:00 2001 From: "Sandy.lu" <104358440+shanlai@users.noreply.github.com> Date: Thu, 14 Dec 2023 16:11:46 +0800 Subject: [PATCH] modify pool_policy (#93) --- templates/k6_config.js.j2 | 2 +- templates/k6_config_insert.js.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/k6_config.js.j2 b/templates/k6_config.js.j2 index 2142ea9..fbdd8a1 100644 --- a/templates/k6_config.js.j2 +++ b/templates/k6_config.js.j2 @@ -11,7 +11,7 @@ var graph_option = { address: "{{ address }}", space: "{{ space }}", csv_path: "{{ csv_path }}", - pool_policy: "session", + pool_policy: "connection", csv_delimiter: "|", csv_with_header: true, output: "{{ output_path }}", diff --git a/templates/k6_config_insert.js.j2 b/templates/k6_config_insert.js.j2 index 3a59165..193b54b 100644 --- a/templates/k6_config_insert.js.j2 +++ b/templates/k6_config_insert.js.j2 @@ -10,7 +10,7 @@ var rowSizeTrend = new Trend('rowSize'); var graph_option = { address: "{{ address }}", space: "{{ space }}", - pool_policy: "session", + pool_policy: "connection", csv_path: "{{ csv_path }}", csv_delimiter: "|", csv_with_header: true,