mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-10-22 02:15:51 +08:00
Add max-allowed-packet setting to mySQL driver (closes #201).
This commit is contained in:
parent
8db9a842a8
commit
f53ef18f61
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ impl MysqlStore {
|
||||||
.to_string()
|
.to_string()
|
||||||
.into(),
|
.into(),
|
||||||
)
|
)
|
||||||
|
.max_allowed_packet(config.property((&prefix, "max-allowed-packet"))?)
|
||||||
.wait_timeout(
|
.wait_timeout(
|
||||||
config
|
config
|
||||||
.property::<Duration>((&prefix, "timeout.wait"))?
|
.property::<Duration>((&prefix, "timeout.wait"))?
|
||||||
|
|
Loading…
Add table
Reference in a new issue