Skip to content

Commit

Permalink
self-review: update cancellation token comment
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLazar committed Jan 13, 2025
1 parent 248817f commit d0c47d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion safekeeper/src/send_interpreted_wal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ pub(crate) struct InterpretedWalReaderHandle {
join_handle: JoinHandle<Result<(), InterpretedWalReaderError>>,
state: Arc<std::sync::RwLock<InterpretedWalReaderState>>,
shard_notification_tx: tokio::sync::mpsc::UnboundedSender<AttachShardNotification>,
// TODO: remove or keep
// Currently, the task is aborted on [`Self`] drop. Cancellation token is here
// in case we want to refine the approach later.
#[allow(unused)]
cancel: CancellationToken,
}
Expand Down

0 comments on commit d0c47d8

Please sign in to comment.