Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Soltus committed Apr 30, 2024
1 parent b78e838 commit db95834
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"check:electron": "pnpm install electron@alpha",
"gentpl": "node ./scripts/genTPL.js && echo '危险覆写操作警告:git 提交前请确认'",
"build": "pnpm run gentpl && pnpm run '/build:.*/'",
"docker:build": "pnpm run build:mobile && pnpm run build-docker",
"docker:build": "pnpm run build:export && pnpm run build:desktop && pnpm run build:mobile && pnpm run build-docker",
"build-docker": "webpack --mode production --config webpack.docker.js",
"build:app": "webpack --mode production",
"build:mobile": "webpack --mode production --config webpack.mobile.js",
Expand Down
2 changes: 1 addition & 1 deletion kernel/server/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var cookieStore = cookie.NewStore([]byte("ATN51UlxVq1Gcvdf"))
func Serve(fastMode bool) {
gin.SetMode(gin.ReleaseMode)
ginServer := gin.New()
// ginServer.UseH2C = true
ginServer.UseH2C = true
ginServer.MaxMultipartMemory = 1024 * 1024 * 32 // 插入较大的资源文件时内存占用较大 https://github.com/siyuan-note/siyuan/issues/5023
ginServer.Use(
model.ControlConcurrency, // 请求串行化 Concurrency control when requesting the kernel API https://github.com/siyuan-note/siyuan/issues/9939
Expand Down

0 comments on commit db95834

Please sign in to comment.