monero-project/bitmonero — pull request #54 by zone117x (2014-06-30 00:29:15+00:00)
Title: Do not fall over when refreshing balance fails

In daemon mode, the wallet polls the blockchain daemon every 20 seconds to refresh the balance. If the blockchain daemon happens to be in "core is busy" mode then the polling fails and the wallet daemon falls over. It never tries to sync again and doesn't respond to RPC requests - its useless until restarted.

This fix lets the sync fail gracefully and retry next time.