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

tahoe-lafs / tahoe-lafs / 1147 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2016 08:08PM UTC
Files 210
Run time 40min
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

26 Apr 2016 08:08PM UTC coverage: 92.396% (+0.006%) from 92.39%
1147.1

push

travis-ci

Brian Warner
Merge PR#269: add when-connected-enough hook

This makes it possible for automated-upload tools (like drop-upload and
magic-folders) to be told when there are "enough" servers connected for
uploads to be successful. This should help prevent the pathological case
where the tools attempt to upload files immediately after node
startup (or before the user turns on their wifi connection), and the
node stores all the shares on itself.

This new notification is single-shot and edge-triggered: when it fires,
you know that, at some point in the past, the node *was* connected to at
least $threshold servers. However you might have lost several
connections since then. The user might turn off wifi after this fires,
causing all connections to be dropped.

In the long run, this API will change: clients will receive continuous
notifications about servers coming and going, and tools like
magic-folder should refrain from uploading during periods of
insufficient connection. It might be as simple as checking the size of
the connected server list when a periodic timer goes off, or something
more responsive like an edge-triggered "upload as soon as you can"
observer.

50513 of 54670 relevant lines covered (92.4%)

0.92 hits per line

Source Files on job 1147.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 6
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1147
  • Travis Job 1147.1
  • 5d6fe5ab on github
  • Prev Job for on master (#1140.1)
  • Next Job for on master (#1148.1)
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