Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mediuminvader committed Feb 15, 2024
1 parent 93dca54 commit 1bcb29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dozer-ingestion/aerospike/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ impl Connector for AerospikeConnector {
let start = SystemTime::now();
let since_the_epoch = start.duration_since(UNIX_EPOCH).expect("Invalid time");
let lut = Duration::from_millis(last_checkpoint.txid);
let seconds = (since_the_epoch - lut + Duration::from_secs(60)).as_secs() as u64;
let seconds = (since_the_epoch - lut + Duration::from_secs(60)).as_secs();
CString::new(format!(
"set-config:context=xdr;dc={}namespace={};action=add;rewind={}",
dc_name, namespace, seconds
Expand Down

0 comments on commit 1bcb29d

Please sign in to comment.