particle-iot / spark-server

UNMAINTAINED - An API compatible open source server for interacting with devices speaking the spark-protocol
https://www.particle.io/
GNU Affero General Public License v3.0
441 stars 136 forks source link

reduce timeout for `spark list #15

Closed kennethlimcp closed 10 years ago

kennethlimcp commented 10 years ago

When no cores are online, the response takes a long time before returning the list of core status.

Would be awesome for this to be controlled by the person commissioning the server.

dmiddlecamp commented 10 years ago

Totally, you can! :)

You can edit these timeouts in settings.js here - https://github.com/spark/spark-server/blob/master/js/settings.js