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

hypothesis / h / 9992
70%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 03 Feb 2016 03:53PM UTC
Jobs 1
Files 96
Run time 3s
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
9992

push

travis-ci

nickstenning
Switch main web worker to default worker class

This commit removes the websocket endpoint (/ws) from the main web
application, and switches that application to gunicorn's default (sync)
worker class.

This fixes a class of problems where under heavy load, many concurrent
greenlets would exhaust the connection pools to PostgreSQL and/or
Elasticsearch.

By default, the web worker will now run in a configuration in which the
client code will not attempt to connect to the websocket. To send the
websocket URL to the client, you must set the H_WEBSOCKET_URL
environment variable. For example:

    H_WEBSOCKET_URL=wss://hypothes.is/ws gunicorn --paste conf/production.ini

This also makes the use of psycogreen and the gevented Sentry worker
conditional, so that the websocket server makes use of these while the
main web application uses the more conventional defaults.

2679 of 3832 relevant lines covered (69.91%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9992.1 03 Feb 2016 03:53PM UTC 0
69.91
Travis Job 9992.1
Source Files on build 9992
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9992
  • 53b3104a on github
  • Next Build on standalone-websocket-server (#10019)
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