Improved websocket logging.
This commit is contained in:
parent
4de56f007f
commit
6fb8ad4b14
2 changed files with 4 additions and 3 deletions
|
@ -244,7 +244,9 @@ class _webSocketSingleton extends App.Controller
|
||||||
|
|
||||||
# use ajax fallback if no connection was possible
|
# use ajax fallback if no connection was possible
|
||||||
if @backend is 'websocketPort'
|
if @backend is 'websocketPort'
|
||||||
@log 'notice', 'no websocket connection on :port/, use ajax long polling as fallback'
|
if @backend_port
|
||||||
|
port = ":#{@backend_port}"
|
||||||
|
@log 'notice', 'no websocket connection on port #{port}, use ajax long polling as fallback'
|
||||||
@backend = 'ajax'
|
@backend = 'ajax'
|
||||||
@connect()
|
@connect()
|
||||||
return
|
return
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
|
|
||||||
bundle install
|
bundle install
|
||||||
|
|
||||||
rm -rf tmp/cache/file_store
|
rm -rf tmp/cache_file_store_*
|
||||||
|
|
||||||
rake db:create
|
rake db:create
|
||||||
rake db:migrate
|
rake db:migrate
|
||||||
rake db:seed
|
rake db:seed
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue