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

supabase / auth / 9188478744

22 May 2024 09:05AM UTC coverage: 65.7% (-0.04%) from 65.744%
9188478744

push

github

web-flow
feat: new timeout writer implementation (#1584)

#1529 introduced timeout middleware, but it appears from working in the
wild it has some race conditions that are not particularly helpful.

This PR rewrites the implementation to get rid of race conditions, at
the expense of slightly higher RAM usage. It follows the implementation
of `http.TimeoutHandler` closely.

---------

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

60 of 75 new or added lines in 3 files covered. (80.0%)

3 existing lines in 2 files now uncovered.

8401 of 12787 relevant lines covered (65.7%)

62.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.85
/internal/api/middleware.go


Source Not Available

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

© 2026 Coveralls, Inc