added some advice to debugging replicants so that we can see a replicant dsn, got...
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / Replicated / Balancer.pm
index 293fe09..6221bdd 100644 (file)
@@ -39,7 +39,7 @@ sub next_storage {
        my $self = shift @_;
        my $pool = shift @_;
        
-       return (shuffle($pool->all_replicants))[0];
+       return (shuffle($pool->active_replicants))[0];
 }