diff --git a/rust/worker/src/execution/orchestration/hnsw.rs b/rust/worker/src/execution/orchestration/hnsw.rs index 97c0f3512d4..699bfde4b3f 100644 --- a/rust/worker/src/execution/orchestration/hnsw.rs +++ b/rust/worker/src/execution/orchestration/hnsw.rs @@ -123,7 +123,7 @@ impl HnswQueryOrchestrator { let end_timestamp = SystemTime::now().duration_since(UNIX_EPOCH); let end_timestamp = match end_timestamp { // TODO: change protobuf definition to use u64 instead of i64 - Ok(end_timestamp) => end_timestamp.as_secs() as i64, + Ok(end_timestamp) => end_timestamp.as_nanos() as i64, Err(e) => { // Log an error and reply + return return;