1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Jon Leighton
91d6198523 Experimental remote debugger support. 2012-02-25 12:47:18 +00:00
Jon Leighton
34af795960 Stop using EventMachine for WebSocket server.
Using EventMachine was causing issues when run alongside Thin.

In general running the event loop is quite slow, presumably because it
is mostly spinning idly wasting cycles (unsure). We were mitigating
this by stopping the thread when it wasn't needed, but this is
incorrect when Thin is also running.

Implemented WebSocket server using raw TCP sockets and a WebSocket
parser provided by faye-websocket. This is faster and neater and removes
the need to dick around with threads.

Fixes #6.
2012-01-13 14:34:36 +00:00
Jon Leighton
c5a964c9a8 Detect if the phantomjs client has died, raise an error, and restart it. 2011-10-30 22:48:56 +00:00
Jon Leighton
8745b8bcce Move TimeoutError up a namespace level, and fix the message 2011-10-30 19:02:37 +00:00
Jon Leighton
76fe32debd omg 2011-10-27 23:34:14 +01:00