mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 18:36:30 +03:00
job: remove unused variable
This commit is contained in:
@@ -298,7 +298,6 @@ pub(crate) async fn schedule_resync(context: &Context) -> Result<()> {
|
||||
|
||||
/// Adds a job to the database, scheduling it.
|
||||
pub async fn add(context: &Context, job: Job) -> Result<()> {
|
||||
let action = job.action;
|
||||
let delay_seconds = job.delay_seconds();
|
||||
job.save(context).await.context("failed to save job")?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user