mozilla/treeherder-service — pull request #268 by camd (2014-10-27 22:59:50+00:00)
Title: Mysql retry

This adds a retry block around calls made with a dhub. This wraps both ``jobs.py`` and ``refdata.py`` calls to the datasource dhub.

I decided to do this in the ``utils.py`` file because ``jobs`` and ``refdata`` don't have a common ancestor. And this seemed very simple. I think this was mdoglio's initial take on the right approach. I tried another where I modified the ``MySQL`` object in datasource directly, but it became too complicated and hacky feeling. (monkeypatch, etc...)

I put this on stage and our error percentage went from ~1.5% down to 0.25%. So that's nice. :)

**Also**: I removed some dead code re: ``get_row_by_id`` that's not used anywhere anymore.