Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding required fields to the app file

Also fixing an error message when the value can't be retrieved.
  • Loading branch information...
commit 441eb1957ee65f2223ab616a2edcdd2ca88988b8 1 parent 9959a5f
@ferd ferd authored
Showing with 4 additions and 2 deletions.
  1. +3 −1 src/socketio.app.src
  2. +1 −1  src/socketio_transport_polling.erl
View
4 src/socketio.app.src
@@ -10,5 +10,7 @@
misultin
]},
{mod, { socketio_app, []}},
- {env, [ {heartbeat_interval, 10000}, {close_timeout, 8000} ]}
+ {env, [{heartbeat_interval, 10000},
+ {close_timeout, 8000},
+ {polling_duration, 20000}]}
]}.
View
2  src/socketio_transport_polling.erl
@@ -62,7 +62,7 @@ init([Sup, SessionId, ServerModule, {TransportType, {Req, Index}}]) ->
Time;
_ ->
error_logger:warning_report(
- "Could not load default heartbeat_interval value from "
+ "Could not load default polling_duration value from "
"the application file. Setting the default value to 20000 ms."
),
20000
Please sign in to comment.
Something went wrong with that request. Please try again.