}
opts := &cache.Options{
TTL: pollerHistoryTTL,
Pin: false,
}
return &pollerHistory{
history: cache.New(pollerHistoryInitMaxSize, opts),
}
}
func (pollers *pollerHistory) updatePollerInfo(id pollerIdentity, pollMetadata *pollMetadata) {