mirror of
https://github.com/documize/community.git
synced 2025-07-24 23:59:47 +02:00
boosted SQL maxAllowedPacket
This commit is contained in:
parent
5ad905a576
commit
2b642f25d3
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ func InitRuntime(r *env.Runtime, s *domain.Store) bool {
|
||||||
var stdParams = map[string]string{
|
var stdParams = map[string]string{
|
||||||
"charset": "utf8mb4",
|
"charset": "utf8mb4",
|
||||||
"parseTime": "True",
|
"parseTime": "True",
|
||||||
"maxAllowedPacket": "4194304", // 4194304 // 16777216 = 16MB
|
"maxAllowedPacket": "104857600", // 4194304 // 16777216 = 16MB // 104857600 = 100MB
|
||||||
}
|
}
|
||||||
|
|
||||||
func stdConn(cs string) string {
|
func stdConn(cs string) string {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue