Add max-allowed-packet setting to mySQL driver (closes #201).

This commit is contained in:
mdecimus 2024-01-09 11:34:49 +01:00
parent 8db9a842a8
commit f53ef18f61

View file

@ -46,6 +46,7 @@ impl MysqlStore {
.to_string()
.into(),
)
.max_allowed_packet(config.property((&prefix, "max-allowed-packet"))?)
.wait_timeout(
config
.property::<Duration>((&prefix, "timeout.wait"))?