Commit Graph

12 Commits

Author SHA1 Message Date
ionutboangiu
4bde2fc07c janusagent: add caps for concurrency limiting 2026-02-22 20:22:27 +01:00
ionutboangiu
421ef0e78d asteriskagent: add caps for concurrency limiting 2026-02-22 20:22:27 +01:00
ionutboangiu
73bc9603da kamailioagent: add caps for concurrency limiting 2026-02-22 20:22:27 +01:00
ionutboangiu
646557e412 freeswitchagent: add caps for concurrency limiting 2026-02-22 20:22:27 +01:00
ionutboangiu
676cfe4c29 sipagent: add caps for concurrency limiting 2026-02-22 20:22:27 +01:00
ionutboangiu
a022521922 httpagent: add caps for concurrency limiting 2026-02-22 20:22:27 +01:00
ionutboangiu
19ac633e1a stop birpc listeners on engine shutdown
make goroutine wait on shdChan and call StopBiRPC to close the
listener(s). Connection goroutines still leak (they need to be
fixed on birpc library side).
2026-02-18 12:44:58 +01:00
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