fix: judge creator, daemon logic
All checks were successful
CI.yml / build (push) Successful in 1m45s

This commit is contained in:
d3m0k1d
2026-01-13 21:53:33 +03:00
parent 2d699af630
commit 761d6012a1
2 changed files with 15 additions and 6 deletions

View File

@@ -16,11 +16,12 @@ type Judge struct {
rulesByService map[string][]config.Rule
}
func New(db *storage.DB) *Judge {
func New(db *storage.DB, b blocker.BlockerEngine) *Judge {
return &Judge{
db: db,
logger: logger.New(false),
rulesByService: make(map[string][]config.Rule),
Blocker: b,
}
}