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

mtlynch / GreenPiThumb / 139
82%
master: 86%

Build:
Build:
LAST BUILD BRANCH: upgrade-yapf
DEFAULT BRANCH: master
Ran 25 Mar 2017 04:44PM UTC
Jobs 1
Files 18
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

pending completion
139

push

travis-ci

mtlynch
Rearchitecting database connection

Rearchitecting the database strategy to get rid of the RecordProcessor class.
I couldn't figure out a way to do thread-safe DB reads under that system.

Instead, each poller thread has its own DB connection that the DB store owns.
We're still instantiating the DB connection in the main thread and using it in
worker threads, but that's okay as long as multiple threads aren't operating
on the same connection instance. We're turning off sqlite's thread-safety
checks because it will raise exceptions for creating in one thread and using
in another even though that's actually okay.

This basically rolls back a lot of changes from 69f92f, but it keeps records
as public objects that go into or come out of the DbStore classes.

436 of 534 relevant lines covered (81.65%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 139.1 25 Mar 2017 04:44PM UTC 0
81.65
Travis Job 139.1
Source Files on build 139
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #139
  • 20569251 on github
  • Next Build on db1 (#140)
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