Browse Source

Update subscriptions every 45 seconds

master
Kenneth Bruen 11 months ago
parent
commit
c985a6575a
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 2
      pkg/subscriptions/subscriptions.go

2
pkg/subscriptions/subscriptions.go

@ -123,7 +123,7 @@ func (sub *Subscriptions) DeleteSubscription(chatId int64, messageId int) (*SubD
}
func (sub *Subscriptions) CheckSubscriptions(ctx context.Context) {
ticker := time.NewTicker(time.Second * 90)
ticker := time.NewTicker(time.Second * 45)
sub.executeChecks(ctx)
for {

Loading…
Cancel
Save