Skip to content

rauchg/weplay-presence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7800e3e · Dec 12, 2015

History

7 Commits
Mar 7, 2014
Mar 7, 2014
Mar 10, 2014
Dec 12, 2015
Mar 7, 2014

Repository files navigation

weplay-presence

Small script that aggregates the count of connected clients from each weplay server and broadcasts it.

How to install

$ npm install

And run it with the following ENV vars:

  • WEPLAY_REDIS - redis uri (localhost:6379)
  • WEPLAY_INTERVAL - how often we update clients on the total number of connected peers. We use an interval to avoid client slowdowns when too many clients connect at once (5000)
$ node index

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published