colyseus / proxy

🔀⚔ Proxy and Service Discovery for Colyseus 0.10 ~ 0.14 (Not recommended on 0.15+)
https://docs.colyseus.io/scalability/
MIT License
37 stars 25 forks source link

Optionally enable Redis cluster mode with `REDIS_CLUSTER=true` #25

Open epiphone opened 2 years ago

epiphone commented 2 years ago

Use ioredis.Cluster instead of ioredis.Redis if the REDIS_CLUSTER env var is set to true.

Also adds a lockfile, tests, basic CI setup + change the build script to prepare to handle git commit hash installs.