lab2: add missing evidence from benchmark
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-10-10 08:06:11 +03:00
parent 6e3515d71b
commit 24fe6e23d2
45 changed files with 3784 additions and 3669 deletions
+2
View File
@@ -18,6 +18,7 @@ type Config struct {
SessionStore string
LogLevel slog.Level
ShutdownTimeout time.Duration
CacheEnabled bool
}
func Load() Config {
@@ -31,6 +32,7 @@ func Load() Config {
SessionStore: getEnv("SESSION_STORE", "postgres"),
LogLevel: parseLevel(getEnv("LOG_LEVEL", "info")),
ShutdownTimeout: parseDuration(getEnv("SHUTDOWN_TIMEOUT", "8s")),
CacheEnabled: getEnv("CACHE_ENABLED", "true") == "true",
}
}