清理无关配置

This commit is contained in:
ExplodingDragon
2025-11-25 00:39:45 +08:00
parent b2c8af4612
commit 1d5ee041aa
2 changed files with 5 additions and 11 deletions

View File

@@ -55,8 +55,8 @@ func NewPageServer(
filterConfig map[string]map[string]any,
) (*Server, error) {
svcMeta := core.NewServerMeta(client, backend, domain, cacheMeta, cacheMetaTTL)
pageMeta := core.NewPageDomain(svcMeta, core.NewDomainAlias(db.Child("config").Child("alias")), domain, defaultBranch)
globCache, err := lru.New[string, glob.Glob](256)
pageMeta := core.NewPageDomain(svcMeta, core.NewDomainAlias(db.Child("config", "alias")), domain, defaultBranch)
globCache, err := lru.New[string, glob.Glob](512)
if err != nil {
return nil, err
}