Skip to content

Commit 2801f6d

Browse files
committed
fix(coprocessor): deprecate schedule order in TFHE worker
1 parent ebaa2af commit 2801f6d

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

coprocessor/fhevm-engine/.sqlx/query-b97f82da02242ae2916f28242ce4b6ef6b1bad9654b4329cfe03bc1fa86ec41c.json renamed to coprocessor/fhevm-engine/.sqlx/query-101db8494f4d2b3600130016f1dd0c5d9987d64701550eeb6d3b364f3acff0dc.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coprocessor/fhevm-engine/tfhe-worker/src/tfhe_worker.rs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -418,19 +418,6 @@ WHERE c.transaction_id IN (
418418
ORDER BY created_at
419419
LIMIT $2
420420
) as c_creation_order
421-
UNION
422-
SELECT DISTINCT
423-
c_schedule_order.transaction_id
424-
FROM (
425-
SELECT transaction_id
426-
FROM computations
427-
WHERE is_completed = FALSE
428-
AND is_error = FALSE
429-
AND is_allowed = TRUE
430-
AND ($1::bytea IS NULL OR dependence_chain_id = $1)
431-
ORDER BY schedule_order
432-
LIMIT $2
433-
) as c_schedule_order
434421
)
435422
FOR UPDATE SKIP LOCKED ",
436423
dependence_chain_id,
@@ -770,7 +757,7 @@ async fn upload_transaction_graph_results<'a>(
770757

771758
s.end();
772759

773-
update_uncomputable_handles(uncomputable, *tenant_id, trx, tracer, loop_ctx).await?;
760+
//update_uncomputable_handles(uncomputable, *tenant_id, trx, tracer, loop_ctx).await?;
774761
Ok(())
775762
}
776763

0 commit comments

Comments
 (0)