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

aio-libs / aiopg / 492 / 8
8%
master: 8%

Build:
DEFAULT BRANCH: master
Ran 05 Sep 2016 01:07PM UTC
Files 12
Run time 1s
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

05 Sep 2016 01:00PM UTC coverage: 88.615% (-5.5%) from 94.09%
USE_SA=0 PYTHONASYNCIODEBUG=

Pull #139

travis-ci

web-flow
Remove callbacks from a bad file descriptor immediately

Previously, the callback removal was postponed until .close() call, and
sometimes this .close() call cleared a file descriptor from a callback set
by another connection object (if the file desriptor was closed by psycopg2 when
an error occurred, and then opened again for a new connection).

The effect of this was, when making tens of parallel connections, an error in
one of them made another time out.

Now, if a psycopg2 error occurs, and the file descriptor has gone bad, the
callback is removed immediately, and the aiopg connection object 'forgets'
about this file descriptor (self._fileno = None), and doesn't try to remove
callbacks in .close().

If there were no errors, callbacks are still removed during .close() call.
Pull Request #139: Remove callbacks from a bad file descriptor immediately

1152 of 1300 relevant lines covered (88.62%)

0.89 hits per line

Source Files on job 492.8 (USE_SA=0 PYTHONASYNCIODEBUG=)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 492
  • Travis Job 492.8
  • 9da1b739 on github
  • Prev Job for USE_SA=0 PYTHONASYNCIODEBUG= on master (#488.12)
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