[SDKs] Should be able to use ^C to interrupt arv-ws.
#3 Updated by Brett Smith over 5 years ago
691d642 does the job, but it can be surprisingly sluggish. Here's a transcript where I hit ^C as soon as I saw the fallback notices:
brinstar % arv-ws; date 2015-01-21 10:12:03 arvados.events WARNING: Got exception _ssl.c:331: No root certificates specified for verification of other-side certificates. trying to connect to websockets at wss://ws.qr1hi.arvadosapi.com/websocket 2015-01-21 10:12:03 arvados.events WARNING: Websockets not available, falling back to log table polling ^CWed Jan 21 10:12:16 EST 2015
Taking about 10-13 seconds is what I typically saw, independently of how I set the poll interval. If there's a way to make it snappier, that seems like it'd be nice, but if not, this is good to merge. Thanks.