mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-11 20:32:12 +00:00
poll alert threshold decrease
This commit is contained in:
1 parent
34b86c50fd
commit
bbf2bf2b35
1 file changed
+1
-1
+1
-1
@@ -12,7 +12,7 @@ use crate::jobs::video_polling_job::alert_on_error::alert_pager_and_return_err;
|
||||
use crate::jobs::video_polling_job::process_orders_batch::process_orders_batch;
|
||||
use crate::job_dependencies::JobDependencies;
|
||||
|
||||
const POLL_ALERT_THRESHOLD: Duration = Duration::from_secs(600);
|
||||
const POLL_ALERT_THRESHOLD: Duration = Duration::from_mins(6);
|
||||
|
||||
pub async fn video_polling_main_loop(job_dependencies: JobDependencies) {
|
||||
while !job_dependencies.application_shutdown.get() {
|
||||
|
||||
Reference in new issue
Block a user