Răsfoiți Sursa

readd comment

AjayTripathy 6 ani în urmă
părinte
comite
7190abb923
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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
 	}