reaper: validate DB connection before reaping
commit811c621ff194416de5141e4db37e8ae4818a9539
authorEric Wong <normalperson@yhbt.net>
Tue, 18 Dec 2012 00:12:04 +0000 (18 00:12 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 6 Jan 2013 20:44:46 +0000 (6 20:44 +0000)
treee08eac275ebf4e2b45de7beb4352239042d0c224
parent25e344a71c4f2244c3c7c471186060f2e4da24f6
reaper: validate DB connection before reaping

This helps prevent the reaper process from dying if
the DB disconnected us for idleness.

This should fix #75: ("reaper dies if DB connection closes")
http://code.google.com/p/mogilefs/issues/detail?id=75
lib/MogileFS/Worker/Reaper.pm