mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
Minor changes in comments
This commit is contained in:
@@ -369,7 +369,7 @@ impl Job {
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.smtp_send(context, recipients, body, self.job_id, || {
|
self.smtp_send(context, recipients, body, self.job_id, || {
|
||||||
// Remove additional SendMdn jobs we have aggretated into this one.
|
// Remove additional SendMdn jobs we have aggregated into this one.
|
||||||
job_kill_ids(context, &additional_job_ids)?;
|
job_kill_ids(context, &additional_job_ids)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
})
|
})
|
||||||
@@ -889,8 +889,8 @@ fn job_perform(context: &Context, thread: Thread, probe_network: bool) {
|
|||||||
|
|
||||||
// some configuration jobs are "exclusive":
|
// some configuration jobs are "exclusive":
|
||||||
// - they are always executed in the imap-thread and the smtp-thread is suspended during execution
|
// - they are always executed in the imap-thread and the smtp-thread is suspended during execution
|
||||||
// - they may change the database handle change the database handle; we do not keep old pointers therefore
|
// - they may change the database handle; we do not keep old pointers therefore
|
||||||
// - they can be re-executed one time AT_ONCE, but they are not save in the database for later execution
|
// - they can be re-executed one time AT_ONCE, but they are not saved in the database for later execution
|
||||||
if Action::ConfigureImap == job.action || Action::ImexImap == job.action {
|
if Action::ConfigureImap == job.action || Action::ImexImap == job.action {
|
||||||
job_kill_action(context, job.action);
|
job_kill_action(context, job.action);
|
||||||
context
|
context
|
||||||
@@ -1153,7 +1153,7 @@ pub fn interrupt_smtp_idle(context: &Context) {
|
|||||||
///
|
///
|
||||||
/// Load jobs for this "[Thread]", i.e. either load SMTP jobs or load
|
/// Load jobs for this "[Thread]", i.e. either load SMTP jobs or load
|
||||||
/// IMAP jobs. The `probe_network` parameter decides how to query
|
/// IMAP jobs. The `probe_network` parameter decides how to query
|
||||||
/// jobs, this is tricky and probably wrong currently. Look at the
|
/// jobs, this is tricky and probably wrong currently. Look at the
|
||||||
/// SQL queries for details.
|
/// SQL queries for details.
|
||||||
fn load_next_job(context: &Context, thread: Thread, probe_network: bool) -> Option<Job> {
|
fn load_next_job(context: &Context, thread: Thread, probe_network: bool) -> Option<Job> {
|
||||||
let query = if !probe_network {
|
let query = if !probe_network {
|
||||||
|
|||||||
Reference in New Issue
Block a user