},
);
+=head2 pool_args
+
+Contains a hashref of initialized information to pass to the Pool object. See
+L<DBIx::Class::Storage::Replicated::Pool> for available arguments.
+
+=cut
+
+has 'pool_args' => (
+ is=>'ro',
+ isa=>'HashRef',
+);
+
=head2 balancer_type
The replication pool requires a balance class to provider the methods for
=cut
sub _build_pool {
- shift->create_pool;
+ my $self = shift @_;
+ $self->create_pool($self->pool_args);
}
=head2 _build_balancer_type