func newServiceLookup() *serviceKeyCatalog {
	entries := maxCatalogEntries
	if v := coreconfig.Datadog.GetInt("apm_config.max_catalog_entries"); v > 0 {
		entries = v
	}
	return &serviceKeyCatalog{
		items:      make(map[ServiceSignature]*list.Element),
		ll:         list.New(),
		maxEntries: entries,
	}
}
// newServiceLookup returns a new serviceKeyCatalog.
newServiceLookup returns a new serviceKeyCatalog.
// newServiceLookup returns a new serviceKeyCatalog .
func newServiceLookup() *serviceKeyCatalog {
	entries := maxCatalogEntries
	if v := coreconfig.Datadog.GetInt("apm_config.max_catalog_entries"); v > 0 {
		entries = v
	}
	return &serviceKeyCatalog{
		items:      make(map[ServiceSignature]*list.Element),
		ll:         list.New(),
		maxEntries: entries,
	}
}
func newServiceLookup ( ) * serviceKeyCatalog { entries := maxCatalogEntries if v := coreconfig . Datadog . GetInt ( " " ) ; v > 0 { entries = v } return & serviceKeyCatalog { items : make ( map [ ServiceSignature ] * list . Element ) , ll : list . New ( ) , maxEntries : entries , } }
newServiceLookup returns a new serviceKeyCatalog.
newServiceLookup returns a new serviceKeyCatalog .