Skip to content

Commit

Permalink
Add max-allowed-packet setting to mySQL driver (closes #201).
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Jan 9, 2024
1 parent 8db9a84 commit f53ef18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/store/src/backend/mysql/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))?
Expand Down

0 comments on commit f53ef18

Please sign in to comment.