Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
rationalize logging
Browse files Browse the repository at this point in the history
Log level adjustments.

Signed-off-by: Ukri Niemimuukko <[email protected]>
  • Loading branch information
uniemimu committed Jun 18, 2021
1 parent 71a0010 commit ab25796
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gpu-aware-scheduling/pkg/gpuscheduler/node_resource_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,18 +418,18 @@ func (c *Cache) workerRun() {
}

func (c *Cache) work() bool {
klog.V(L3).Info("worker started")
klog.V(L5).Info("worker started")

itemI, quit := c.workQueue.Get()

if quit {
klog.V(L3).Info("worker quitting")
klog.V(L2).Info("worker quitting")

return false
}

defer c.workQueue.Done(itemI)
defer klog.V(L3).Info("worker ended work")
defer klog.V(L5).Info("worker ended work")

item := itemI.(workQueueItem)
forget, err := c.handlePod(item)
Expand Down

0 comments on commit ab25796

Please sign in to comment.