mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: less verbose logging
This commit is contained in:
parent
ef9303e61e
commit
cf14fc46ef
@ -82,7 +82,6 @@ func (srv *MiscService) countTotalTimeWorker(jobs <-chan *CountTotalTimeJob, res
|
|||||||
if result, err := srv.summaryService.Aliased(time.Time{}, time.Now(), &models.User{ID: job.UserID}, srv.summaryService.Retrieve, false); err != nil {
|
if result, err := srv.summaryService.Aliased(time.Time{}, time.Now(), &models.User{ID: job.UserID}, srv.summaryService.Retrieve, false); err != nil {
|
||||||
config.Log().Error("failed to count total for user %s: %v", job.UserID, err)
|
config.Log().Error("failed to count total for user %s: %v", job.UserID, err)
|
||||||
} else {
|
} else {
|
||||||
logbuch.Info("successfully counted total for user %s", job.UserID)
|
|
||||||
results <- &CountTotalTimeResult{
|
results <- &CountTotalTimeResult{
|
||||||
UserId: job.UserID,
|
UserId: job.UserID,
|
||||||
Total: result.TotalTime(),
|
Total: result.TotalTime(),
|
||||||
|
Loading…
Reference in New Issue
Block a user