mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-27 16:32:54 +00:00
feat: mysql add prepared_stmt_cache_capacity (#6639)
* feat: your clear and concise commit message Signed-off-by: sunheyi <1061867552@qq.com> * fix error Signed-off-by: sunheyi <1061867552@qq.com> * add param Signed-off-by: sunheyi <1061867552@qq.com> * fix Signed-off-by: sunheyi <1061867552@qq.com> * fix doc error Signed-off-by: sunheyi <1061867552@qq.com> --------- Signed-off-by: sunheyi <1061867552@qq.com>
This commit is contained in:
@@ -645,6 +645,7 @@ pub async fn setup_mysql_server_with_user_provider(
|
||||
),
|
||||
0,
|
||||
opts.reject_no_database.unwrap_or(false),
|
||||
opts.prepared_stmt_cache_size,
|
||||
)),
|
||||
None,
|
||||
);
|
||||
|
||||
@@ -1249,6 +1249,7 @@ enable = true
|
||||
addr = "127.0.0.1:4002"
|
||||
runtime_size = 2
|
||||
keep_alive = "0s"
|
||||
prepared_stmt_cache_size = 10000
|
||||
|
||||
[mysql.tls]
|
||||
mode = "disable"
|
||||
|
||||
Reference in New Issue
Block a user