Skip to content

Commit f5dfd25

Browse files
committed
chore: add some todo comments
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent 81f2951 commit f5dfd25

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common/src/tap/checks/value_check.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ impl MinimumValue {
6969
let cache = self.cost_model_cache.read().unwrap();
7070
let models = cache.get(&agora_query.deployment_id);
7171

72+
// TODO check global cost model
73+
7274
let expected_value = models
7375
.map(|cache| {
7476
let cache = cache.read().unwrap();
@@ -193,6 +195,9 @@ impl MinimumValue {
193195
pgpool: &PgPool,
194196
cost_model_cache: CostModelMap,
195197
) -> anyhow::Result<()> {
198+
// TODO make sure to load last cost model
199+
// plus all models that were created 60 secoonds from now
200+
//
196201
let models = sqlx::query!(
197202
r#"
198203
SELECT deployment, model, variables

0 commit comments

Comments
 (0)