uniqush / uniqush-push

Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices.
http://uniqush.org
Apache License 2.0
1.53k stars 201 forks source link

Sync various improvements to uniqush/uniqush-push #217

Closed TysonAndre closed 5 years ago

TysonAndre commented 5 years ago

Not sure if the singleton for initializing push service managers is necessary (done once on startup), but keeping it

Allow tracking additional fields about subscriptions.

Add an optional slave_host and slave_port to the uniqush config. If these are set, then uniqush will perform redis read operations against the slave instead of the master. This may help with scaling if the redis master (or the collection of sharded redis masters) has high load.