mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 22:16:15 -06:00
defer finished log
This commit is contained in:
parent
b70b8e2b72
commit
52c3847dc0
1 changed files with 1 additions and 2 deletions
|
|
@ -142,6 +142,7 @@ func (s *Subscriptions) ProcessDomainPermissionSubscriptions(
|
|||
permType gtsmodel.DomainPermissionType,
|
||||
) {
|
||||
log.Info(ctx, "start")
|
||||
defer log.Info(ctx, "finished")
|
||||
|
||||
// Get permission subscriptions in priority order (highest -> lowest).
|
||||
permSubs, err := s.state.DB.GetDomainPermissionSubscriptionsByPriority(ctx, permType)
|
||||
|
|
@ -194,8 +195,6 @@ func (s *Subscriptions) ProcessDomainPermissionSubscriptions(
|
|||
return
|
||||
}
|
||||
}
|
||||
|
||||
log.Info(ctx, "finished")
|
||||
}
|
||||
|
||||
// ProcessDomainPermissionSubscription processes one domain permission
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue