Skip to content

Commit

Permalink
fix: remove TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiroaisen committed Mar 11, 2024
1 parent 04bdc3b commit e985b78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rs/packages/api/src/ws_stats/routes/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ impl WsConnectionHandler {

let duration_ms = ((*DateTime::now() - *created_at).as_seconds_f64() * 1000.0).round();

// only update if this deployment is the main deployment
// TODO: use task ids
// only update if the task id is the same (not taken from another connection)
let filter = doc! {
WsStatsConnection::KEY_ID: &connection_id,
WsStatsConnection::KEY_TASK_ID: &task_id,
Expand Down

0 comments on commit e985b78

Please sign in to comment.