Skip to content

Commit

Permalink
remove pub from cb state
Browse files Browse the repository at this point in the history
  • Loading branch information
plazmoid committed Jan 20, 2023
1 parent a94cca2 commit dbc0eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wavesexchange_repos/src/circuit_breaker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct CircuitBreaker<S: FallibleDataSource> {
state: RwLock<CBState<S>>,
}

pub struct CBState<S: FallibleDataSource> {
struct CBState<S: FallibleDataSource> {
data_source: Arc<S>,
err_count: usize,
first_err_ts: Option<Instant>,
Expand Down

0 comments on commit dbc0eaa

Please sign in to comment.