feat: notifications

This commit is contained in:
Dawid Wysokiński 2022-10-26 07:25:19 +02:00
parent f256a45cea
commit 3864c807b8
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -221,7 +221,7 @@ func (m *Monitor) fetchEnnoblements(ctx context.Context, groups []domain.Group)
reqLimiter := make(chan struct{}, m.ennoblementsMaxConcurrentRequests)
defer close(reqLimiter)
skip := make(map[string]struct{})
since := time.Now().Add(-4 * time.Hour)
since := m.ennoblementsLastFetchedAt
for _, g := range groups {
if g.ChannelGains == "" && g.ChannelLosses == "" {