Combined metricstore api and functions

This commit is contained in:
Aditya Ujeniya
2025-09-08 11:29:27 +02:00
parent bca176170c
commit 62565b9ae2
26 changed files with 1248 additions and 430 deletions

View File

@@ -248,8 +248,10 @@ func main() {
cclog.Exit("No errors, server flag not set. Exiting cc-backend.")
}
var wg sync.WaitGroup
//Metric Store starts after all flags have been processes
memorystore.Init()
memorystore.Init(wg)
archiver.Start(repository.GetJobRepository())
@@ -259,8 +261,6 @@ func main() {
serverInit()
var wg sync.WaitGroup
wg.Add(1)
go func() {
defer wg.Done()