Skip to content

Commit

Permalink
chore: increase workflow tick interval
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jun 25, 2024
1 parent f67ec22 commit f238efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chirp-workflow/core/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use uuid::Uuid;

use crate::{util, DatabaseHandle, RegistryHandle, WorkflowCtx};

const TICK_INTERVAL: Duration = Duration::from_millis(50);
const TICK_INTERVAL: Duration = Duration::from_millis(200);

/// Used to spawn a new thread that indefinitely polls the database for new workflows. Only pulls workflows
/// that are registered in its registry. After pulling, the workflows are ran and their state is written to
Expand Down

0 comments on commit f238efd

Please sign in to comment.