test: remove async from redis ct

This commit is contained in:
Zhongwen Deng 2023-02-02 17:34:09 +08:00
parent 22cc1cc745
commit 1c9035d24c
2 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ For bridges only have ingress direction data flow, it can be set to 0 otherwise
query_mode_sync_only {
desc {
en: """Query mode. only support 'sync'."""
en: """Query mode. Only support 'sync'."""
zh: """请求模式。目前只支持同步模式。"""
}
label {

View File

@ -509,7 +509,7 @@ redis_connect_configs() ->
toxiproxy_redis_bridge_config() ->
Conf0 = ?REDIS_TOXYPROXY_CONNECT_CONFIG#{
<<"resource_opts">> => #{
<<"query_mode">> => <<"async">>,
<<"query_mode">> => <<"sync">>,
<<"worker_pool_size">> => <<"1">>,
<<"batch_size">> => integer_to_binary(?BATCH_SIZE),
<<"health_check_interval">> => <<"1s">>,
@ -537,7 +537,7 @@ resource_configs() ->
<<"start_timeout">> => <<"15s">>
},
batch_on => #{
<<"query_mode">> => <<"async">>,
<<"query_mode">> => <<"sync">>,
<<"worker_pool_size">> => <<"1">>,
<<"batch_size">> => integer_to_binary(?BATCH_SIZE),
<<"start_timeout">> => <<"15s">>