Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How do I weight servers? #7

@asuth

Description

@asuth

Hi,

I can see you can weight servers in the php session config settings, but how do you weight servers yourself? Sorry if I'm missing something, I don't see this documented.

It would be nice to do something like this:

    $redis = new Redis();
    foreach ($connection as $ip => $weight)
        $redis->pconnect($ip, $port, $timeout, $weight);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions