Commit Graph

5 Commits

Author SHA1 Message Date
ionutboangiu
7babf7b725 fix birpc deadlock on startup
startBiRPC blocked waiting for services that hadn't started yet.
Now uses closures that check through the wrapper lock instead.
2026-02-18 12:44:58 +01:00
ionutboangiu
5fe503605f accept config hooks as RunCGREngine parameters
moving away from global variables
2026-02-17 18:59:19 +01:00
arberkatellari
78e537bc36 Make conns from SessionS<->ThresholdS bidirectional 2026-02-13 17:19:50 +01:00
ionutboangiu
0bf255c8fb add ConfigHook for external config modification
Add ConfigHook variable allowing external packages to modify config
after logger init but before services start.
2026-01-30 13:34:38 +01:00
ionutboangiu
cafa0a195e move cgr-engine logic to services package
Move main() implementation from cmd/cgr-engine to services/engine.go
to enable importing by external projects.
2026-01-30 13:34:38 +01:00