We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f2951 commit f5dfd25Copy full SHA for f5dfd25
common/src/tap/checks/value_check.rs
@@ -69,6 +69,8 @@ impl MinimumValue {
69
let cache = self.cost_model_cache.read().unwrap();
70
let models = cache.get(&agora_query.deployment_id);
71
72
+ // TODO check global cost model
73
+
74
let expected_value = models
75
.map(|cache| {
76
let cache = cache.read().unwrap();
@@ -193,6 +195,9 @@ impl MinimumValue {
193
195
pgpool: &PgPool,
194
196
cost_model_cache: CostModelMap,
197
) -> anyhow::Result<()> {
198
+ // TODO make sure to load last cost model
199
+ // plus all models that were created 60 secoonds from now
200
+ //
201
let models = sqlx::query!(
202
r#"
203
SELECT deployment, model, variables
0 commit comments