• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / stash
83%
master: 84%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.13.3
DEFAULT BRANCH: master
Repo Added 24 Nov 2025 02:23AM UTC
Files 17
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feat/rate-limiting
branch: feat/rate-limiting
CHANGE BRANCH
x
Reset
  • feat/rate-limiting
  • api-list-keys
  • conflict-detection
  • dependabot/github_actions/actions/setup-go-6
  • feat-public-access
  • feat/git-ssh-key
  • feat/key-history
  • feat/selective-session-invalidation
  • feat/sighup-auth-reload
  • feat/syntax-highlighting
  • feat/value-validation
  • feature/auth-hot-reload
  • feature/cache-layer
  • feature/enum-types
  • feature/git-versioning
  • feature/granular-auth
  • feature/web-pagination
  • fix/git-concurrency-and-error-handling
  • fix/server-code-review-improvements
  • json-schema-validation
  • master
  • persistent-sessions
  • refactor/split-server-subpackages
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.10.0
  • refs/tags/v0.10.1
  • refs/tags/v0.10.2
  • refs/tags/v0.10.3
  • refs/tags/v0.10.4
  • refs/tags/v0.11.0
  • refs/tags/v0.12.0
  • refs/tags/v0.12.1
  • refs/tags/v0.13.0
  • refs/tags/v0.13.1
  • refs/tags/v0.13.2
  • refs/tags/v0.13.3
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.7.3
  • refs/tags/v0.8.0
  • refs/tags/v0.8.1
  • refs/tags/v0.8.2
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2

05 Dec 2025 08:16AM UTC coverage: 83.062% (+0.3%) from 82.73%
19956934372

Pull #27

github

umputun
feat(server): add per-client rate limiting with tollbooth

Add real per-client rate limiting using tollbooth token bucket algorithm,
separate from existing concurrent in-flight request limiting.

Changes:
- Add tollbooth dependency for per-client rate limiting (429 responses)
- Add MaxConcurrent option (default 1000) for in-flight request limiting (503)
- Change RequestsPerSec to float64 (default 100 req/sec)
- Rate limiter uses RemoteAddr set by RealIP middleware
- Add integration tests for body size, rate limit, max concurrent, login concurrency
- Add unit tests for limit helper methods
Pull Request #27: Add per-client rate limiting with tollbooth

17 of 17 new or added lines in 2 files covered. (100.0%)

2604 of 3135 relevant lines covered (83.06%)

84.15 hits per line

Relevant lines Covered
Build:
Build:
3135 RELEVANT LINES 2604 COVERED LINES
84.15 HITS PER LINE
Source Files on feat/rate-limiting
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19956934372 feat/rate-limiting feat(server): add per-client rate limiting with tollbooth Add real per-client rate limiting using tollbooth token bucket algorithm, separate from existing concurrent in-flight request limiting. Changes: - Add tollbooth dependency for per-client ... Pull #27 05 Dec 2025 08:18AM UTC umputun github
83.06
See All Builds (195)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc