AjayTripathy 6 лет назад
Родитель
Сommit
7190abb923
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      costmodel/router.go

+ 1 - 0
costmodel/router.go

@@ -441,6 +441,7 @@ func (a *Accesses) AggregateCostModel(w http.ResponseWriter, r *http.Request, ps
 		return
 	}
 
+	// if custom pricing has changed, then clear the cache and recompute data
 	if a.CustomPricingHasChanged() {
 		clearCache = true
 	}