Skip to content

Commit d60003e

Browse files
committed
feat: fill default values
1 parent d8a686a commit d60003e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

priv/config.hocon

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ mysql {
1313
select_message_sql = "select * from mqtt_msg where msgid = ${id}"
1414
insert_subscription_sql = "insert into mqtt_sub(clientid, topic, qos) values(${clientid}, ${topic}, ${qos}) on duplicate key update qos = ${qos}"
1515
select_subscriptions_sql = "select topic, qos from mqtt_sub where clientid = ${clientid}"
16+
batch_size = 1
17+
batch_time = 100
1618
}
1719

1820
redis {
@@ -24,11 +26,13 @@ redis {
2426
redis_type = "single"
2527
pool_size = 8
2628
username = ""
27-
password = ""
29+
password = "public"
2830
message_key_prefix = "mqtt:msg"
2931
subscription_key_prefix = "mqtt:sub"
3032
message_ttl = 7200
3133
database = 0
34+
batch_size = 1
35+
batch_time = 100
3236
}
3337

3438

0 commit comments

Comments
 (0)