Closed jamesholcomb closed 6 years ago
Setting options is being tested in https://github.com/feathersjs/socketio/blob/158e067aff7e5597d281c4bc1f5231d2b1bffb29/test/index.test.js#L91, I'm not sure where the issue might be at the moment.
False alarm...was due to a bad import which set pingInterval to undefined.
According to the docs, options can be passed to engine-io
app.configure(socketio(options [, callback]))
Sets up the Socket.io transport with the given Socket.io options object and optionally calls the callback described above.
Steps to reproduce
Expected behavior
Options should be passed to engine-io
Actual behavior
Options are not passed (pingTimeout is still default 60000)
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): feathers-socketio 2.0.1
NodeJS version: 8.9 Operating System: MacOS Browser Version:
React Native Version: 0.46.4 Module Loader: