Revision: 5281 Author: mpeters Date: 2008-08-25 05:03:52 -0400 (Mon, 25 Aug 2008) Log Message: ----------- dont use the cache for DB handle because this is happening post fork, so things might get confused with parent handles; we have only seen this on really busy systems, but it causes a mysql Lost Connection error Modified Paths: -------------- branches/krang_v3_02/lib/Krang/Schedule.pm Modified: branches/krang_v3_02/lib/Krang/Schedule.pm =================================================================== --- branches/krang_v3_02/lib/Krang/Schedule.pm 2008-08-25 08:57:07 UTC (rev 5280) +++ branches/krang_v3_02/lib/Krang/Schedule.pm 2008-08-25 09:03:52 UTC (rev 5281) @@ -954,7 +954,7 @@ $query .= " LIMIT $offset, -1"; } - my $dbh = dbh(); + my $dbh = dbh(no_cache => 1); my $sth = $dbh->prepare($query); debug(__PACKAGE__ . "->find() SQL: $query"); |