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

ICRAR / ngas / 600
70%
master: 69%

Build:
Build:
LAST BUILD BRANCH: config_use_prepared_stmts_for_clients
DEFAULT BRANCH: master
Ran 08 Feb 2022 03:54AM UTC
Jobs 7
Files 165
Run time 1min
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
600

push

travis-ci-com

Rodrigo Tobar
Start communication thread before janitor process

The main server process and the janitor process communicate through a
pair of Queues. The handling of this communication on the main server
process happens on a separate thread, which we used to start after we
spawned the janitor process. This sequence opened the door for a race
condition where the janitor process would try to read from the
corresponding queue, but the main server wouldn't have put any item on
it yet as the communication thread wouldn't have started yet.

This commit fixes this situation by starting the communication thread
before spawning the janitor process. Since we are not waiting for the
communication thread to be up and running (only starting it) there is
still some chance that the original problem could occur, but with a much
lesser probability.

This addresses the problem originally reported in #78.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

13672 of 19626 relevant lines covered (69.66%)

4.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 600.1 (DB=sqlite3) 08 Feb 2022 03:54AM UTC 0
69.19
Travis Job 600.1
2 600.2 (DB=mysql) 08 Feb 2022 03:56AM UTC 0
69.07
Travis Job 600.2
3 600.3 (DB=postgresql) 08 Feb 2022 03:55AM UTC 0
68.93
Travis Job 600.3
4 600.4 08 Feb 2022 03:55AM UTC 0
69.25
Travis Job 600.4
5 600.5 08 Feb 2022 03:54AM UTC 0
69.33
Travis Job 600.5
6 600.6 08 Feb 2022 03:54AM UTC 0
69.43
Travis Job 600.6
7 600.7 08 Feb 2022 03:55AM UTC 0
69.37
Travis Job 600.7
Source Files on build 600
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #600
  • 3359cc03 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

© 2026 Coveralls, Inc