Skip to content

Commit a83cdfb

Browse files
committed
Clarify that VerifyEmailJob is kept for flushing old jobs
1 parent 244ec18 commit a83cdfb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

crates/storage/src/queue/tasks.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
//
33
// SPDX-License-Identifier: AGPL-3.0-only
44
// Please see LICENSE in the repository root for full details.
@@ -9,7 +9,9 @@ use ulid::Ulid;
99

1010
use super::InsertableJob;
1111

12-
/// A job to verify an email address.
12+
/// This is the previous iteration of the email verification job. It has been
13+
/// replaced by [`SendEmailAuthenticationCodeJob`]. This struct is kept to be
14+
/// able to consume jobs that are still in the queue.
1315
#[derive(Serialize, Deserialize, Debug, Clone)]
1416
pub struct VerifyEmailJob {
1517
user_email_id: Ulid,

0 commit comments

Comments
 (0)