I've been using the message_bus gem for a few months as a more simplified alternative to a websocket solution. The default MessageBus.callbackInterval
is too wide, so I want to narrow it. I've done this successfully in my development env. However, when deploying to production it seems that the second line below is ignored:
MessageBus.start();
MessageBus.callbackInterval = 1800; # this should change the interval frequency, but it doesn't
MessageBus.subscribe("/some_id", function(status) {
// work
});
Any idea how I could debug this?