change default config

This commit is contained in:
dreamstarsky
2025-05-02 22:49:51 +08:00
parent a040bc3bf6
commit 49dd9c3e39
3 changed files with 8 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ import (
func main() {
// Load configuration
cfg := config.LoadApi("config/server.yaml")
cfg := config.LoadApi("config/api.yaml")
if cfg.App.Env == "release" {
gin.SetMode(gin.ReleaseMode)

View File

@@ -4,11 +4,13 @@ storage:
dsn: "host=localhost port=54320 user=postgres password=password dbname=postgres sslmode=disable"
limit:
time: 10
cpu: 1
memory: 512
time: 10.0 # s
cpu: 1.0
memory: 512 # MB
size: 1024 # KB
process: 4
process: 1
name: "猫猫"
name: "default name"
compilerimage: "cpp_gcc-latest:latest"