Skip to content

Commit

Permalink
cast to int
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Sep 12, 2024
1 parent 1e61e91 commit b84d342
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/lib/round-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ export async function maybeCreateSparkRound (pgClient, {
$3,
$4,
(
$5 /* previousRound.max_tasks_per_node || BASELINE_TASKS_PER_NODE */
* $6 /* TASKS_EXECUTED_PER_ROUND */
/ $7 /* previousRound.measurement_count || TASKS_EXECUTED_PER_ROUND */
$5::int /* previousRound.max_tasks_per_node || BASELINE_TASKS_PER_NODE */
* $6::int /* TASKS_EXECUTED_PER_ROUND */
/ $7::int /* previousRound.measurement_count || TASKS_EXECUTED_PER_ROUND */
)
)
ON CONFLICT DO NOTHING
Expand Down

0 comments on commit b84d342

Please sign in to comment.