Updated usage check threshold to 100pc instead of 1 (#1504)

This commit is contained in:
Nikhil Badyal
2024-11-27 05:03:26 +05:30
committed by GitHub
parent a9b61a655b
commit 76f2714006

View File

@@ -154,7 +154,7 @@ class Family < ApplicationRecord
end
def synth_overage?
self.class.synth_provider && self.class.synth_provider.usage.utilization >= 1
self.class.synth_provider && self.class.synth_provider.usage.utilization >= 100
end
def subscribed?