From: John Napiorkowski Date: Fri, 16 May 2008 17:31:16 +0000 (+0000) Subject: make sure that the Pool validates the replicants on the first query X-Git-Tag: v0.08240~402^2~37 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10b4863bd65f323d71eb11da4436e5410b4ef189;p=dbsrgits%2FDBIx-Class.git make sure that the Pool validates the replicants on the first query --- diff --git a/lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm b/lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm index 56a40c9..bf46823 100644 --- a/lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm +++ b/lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm @@ -58,7 +58,7 @@ has 'last_validated' => ( writer=>'_last_validated', lazy=>1, default=>sub { - time; + 0; }, );