Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ismoilovdevml committed Oct 15, 2023
1 parent e72e6aa commit 411af35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release CI/CD
on:
push:
branches:
- main
- master
tags:
- 'v0.1.2'

Expand Down Expand Up @@ -43,10 +43,6 @@ jobs:
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}

# - name: Setup | Version
# id: get_version
# run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Setup | Rust
uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub async fn main() -> Result<(), io::Error> {

async fn watch_health(config: Arc<ArcSwap<RuntimeConfig>>) -> Result<(), io::Error> {
let backend_pools = Map::new(config.clone(), |it: &RuntimeConfig| &it.shared_data.backend_pools);
let health_interval = Map::new(config, |it: &RuntimeConfig| &it.health_interval);
let health_interval = Map::new(config.clone(), |it: &RuntimeConfig| &it.health_interval);
health::watch_health(backend_pools, health_interval).await;
Ok(())
}
Expand Down

0 comments on commit 411af35

Please sign in to comment.