Skip to content

Commit

Permalink
adjust log styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Nov 18, 2024
1 parent 9031818 commit b46cda3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/modgearman/mod_gearman_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func mainLoop(cfg *config, osSignalChan chan os.Signal, workerMap map[string]*wo
delta := jobs - lastJobs
seconds := time.Since(statsTime).Seconds()
if seconds > 0 {
log.Infof("stats: workers: %d/%d busy: %d | current job rate: %.2f/s",
log.Infof("stats: workers: %4d/-%4d busy: %4d | current job rate: %7.2f/s",
len(mainworker.workerMap),
cfg.maxWorker,
mainworker.activeWorkers,
Expand Down

0 comments on commit b46cda3

Please sign in to comment.