Update BackgroundJobsExecutor.h

This commit is contained in:
tavplubix 2020-11-25 23:06:00 +03:00 committed by GitHub
parent f3f06dccac
commit 6477251ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ private:
/// Function that executes in background scheduling pool
void jobExecutingTask();
/// Recalculate timeouts when we have to check for a new job
void scheduleTask(bool job_done, bool with_backoff=false);
void scheduleTask(bool job_done, bool with_backoff=true);
/// Return random add for sleep in case of error
double getSleepRandomAdd();
};