allow users to use a credis native setup#367
allow users to use a credis native setup#367scones wants to merge 1 commit intochrisboulton:masterfrom
Conversation
... instead of testing an unused variable this change allows us to pass a credis_cluster object as $server and thus use a preconfigured sentinel setup. and it is already tested in production best regards.
|
Seeing as the current code lets you do the same exact thing by passing the object as the third argument instead of the first... Without modifications... This change is a backwards compatibility break, and doesn't actually add anything that isn't already there, so it probably won't be merged. |
|
The only place i can locate, where Line 62 in 968b7e6 (and maybe two lines above that). You might notice the apparent lack of a third argument. So yes, the current implementation of But i am always open for a configuration example with the current release that can use a sentinel setup. |
|
Let me rephrase, then. If the issue is that nothing is actually passing the third argument to the |
... instead of testing an unused variable
this change allows us to pass a credis_cluster object as $server and thus use a preconfigured sentinel setup.
and it is already tested in production
best regards.