Edugate/ResourceRegistry — pull request #21 by janul (2013-11-06 11:33:47+00:00)
Title: gearmanworker for stats: fix losing database connection

as gearmanworker works in daemon mode it's losing connection to database after some time of inactivity or when database was restarted. now it tries to reconnect 2 times