Skip to content

Commit

Permalink
Merge pull request go-graphite#233 from msaf1980/load_avg
Browse files Browse the repository at this point in the history
limiter: adaptive limiter (based on load average)
  • Loading branch information
msaf1980 authored Aug 11, 2023
2 parents e4a415f + 6d7fd46 commit 1db4b3d
Show file tree
Hide file tree
Showing 59 changed files with 4,494 additions and 150 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/tests-sd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Tests register in SD

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

tests:
env:
CGO_ENABLED: 0
name: Test register in SD
runs-on: ubuntu-latest
strategy:
matrix:
go:
- ^1
steps:

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}

- name: Check out code
uses: actions/checkout@v2

- name: Start consul
run: |
./tests/consul.sh 1.15.2 > /tmp/consul.log &
sleep 30
shell: bash

- name: Test
run: go test ./sd/nginx -tags=test_sd -v
199 changes: 151 additions & 48 deletions config/config.go

Large diffs are not rendered by default.

Loading

0 comments on commit 1db4b3d

Please sign in to comment.