Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Undefined method Monitor.isRunning() #36

Open
felixbuenemann opened this issue Aug 3, 2015 · 2 comments
Open

Undefined method Monitor.isRunning() #36

felixbuenemann opened this issue Aug 3, 2015 · 2 comments

Comments

@felixbuenemann
Copy link

The interrupt handler tries to call bench.monitor.isRunning() which isn't defined anywhere:

websocket-bench -t faye -a 3500 -c 50 ws://localhost:3100/faye
Launch bench with 3500 total connection, 50 concurent connection
0 message(s) send by client
1 worker(s)
WS server : faye
^C
Gracefully stoping worker from SIGINT (Ctrl+C)
/usr/local/lib/node_modules/websocket-bench/index.js:102
    if (bench.monitor.isRunning()) {
                      ^
TypeError: undefined is not a function
    at null._onTimeout (/usr/local/lib/node_modules/websocket-bench/index.js:102:23)
    at Timer.listOnTimeout (timers.js:119:15)
@mkozjak
Copy link

mkozjak commented Mar 10, 2016

+1. Is this repo maintained?

Gracefully stoping worker from SIGINT (Ctrl+C)
/usr/lib/node_modules/websocket-bench/index.js:102
    if (bench.monitor.isRunning()) {
                      ^

TypeError: bench.monitor.isRunning is not a function
    at null._onTimeout (/usr/lib/node_modules/websocket-bench/index.js:102:23)
    at Timer.listOnTimeout (timers.js:92:15)

@kennydee
Copy link

@mkozjak Not really.

We don't use it anymore :/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants