MCPcopy
hub / github.com/argoproj/argo-cd / isRefreshRequested

Method isRefreshRequested

controller/appcontroller.go:990–998  ·  view source on GitHub ↗
(appName string)

Source from the content-addressed store, hash-verified

988}
989
990func (ctrl *ApplicationController) isRefreshRequested(appName string) (bool, CompareWith) {
991 ctrl.refreshRequestedAppsMutex.Lock()
992 defer ctrl.refreshRequestedAppsMutex.Unlock()
993 level, ok := ctrl.refreshRequestedApps[appName]
994 if ok {
995 delete(ctrl.refreshRequestedApps, appName)
996 }
997 return ok, level
998}
999
1000func (ctrl *ApplicationController) processAppOperationQueueItem() (processNext bool) {
1001 appKey, shutdown := ctrl.appOperationQueue.Get()

Calls 2

deleteFunction · 0.85
LockMethod · 0.80