obs-staging-bot: log polling cycles
This commit is contained in:
@@ -559,6 +559,7 @@ func pollWorkNotifications(giteaHost string) {
|
||||
}
|
||||
|
||||
if data != nil {
|
||||
log.Println("Processing", len(data), "notifications.")
|
||||
for _, notification := range data {
|
||||
log.Println(notification.ID, "--", notification.Subject)
|
||||
|
||||
@@ -596,6 +597,7 @@ func main() {
|
||||
if Debug {
|
||||
break
|
||||
}
|
||||
log.Println("Poll cycle finished")
|
||||
time.Sleep(10 * time.Minute)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user