Skip to content

Commit

Permalink
Allow dead code for currently unused ExecutionCircuitBreaker constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
zbuc committed Jan 26, 2024
1 parent e7b81ab commit eb839db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/core/component/dex/src/circuit_breaker/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub(crate) struct ExecutionCircuitBreaker {
}

impl ExecutionCircuitBreaker {
#[allow(dead_code)]
pub fn new(max_path_searches: u32, max_executions: u32) -> Self {
Self {
max_path_searches,
Expand Down

0 comments on commit eb839db

Please sign in to comment.