Is your feature request related to a problem? Please describe.
No problem, just an optimize on efficiency.
Describe the solution you'd like
A new config field ClientPresenceUpdateBatchSize represents the batch size using, default 10s. Since lua ExecMulti will failed on redis-cluster, it will be check before use, and falls back to original if presence manager is cluster.
Describe alternatives you've considered
parallel on batch, but it seems checkSubscriptionExpiration function can't be that way.
Additional context
My collegues and i use centrifugal as our push service, and changes has been added to my company's code and it works great for 2 months, so i think if it's stable enough to submit a PR.
Is your feature request related to a problem? Please describe.
No problem, just an optimize on efficiency.
Describe the solution you'd like
A new config field ClientPresenceUpdateBatchSize represents the batch size using, default 10s. Since lua ExecMulti will failed on redis-cluster, it will be check before use, and falls back to original if presence manager is cluster.
Describe alternatives you've considered
parallel on batch, but it seems checkSubscriptionExpiration function can't be that way.
Additional context
My collegues and i use centrifugal as our push service, and changes has been added to my company's code and it works great for 2 months, so i think if it's stable enough to submit a PR.