make sure that the Pool validates the replicants on the first query
John Napiorkowski [Fri, 16 May 2008 17:31:16 +0000 (17:31 +0000)]
lib/DBIx/Class/Storage/DBI/Replicated/Pool.pm

index 56a40c9..bf46823 100644 (file)
@@ -58,7 +58,7 @@ has 'last_validated' => (
     writer=>'_last_validated',
     lazy=>1,
     default=>sub {
-        time;
+        0;
     },
 );