basho/riak_core — pull request #247 by slfritchie (2012-10-31 21:11:39+00:00)
Title: Change all gen_server:call() calls to use infinity timeout

If the handoff manager gets busy enough to not reply in the
5 second default timeout, then the clients that time out and
crash can cause a supervisor to fail due to too many failures,
which in turn can trigger other supervisor failures that will
cause the entire app to shut down. E.g.,

2012-10-31 01:04:43.370 UTC [error] <0.214.0> Supervisor riak_core_handoff_listener_sup had child riak_core_handoff_listener started with riak_core_handoff_listener:start_link() at {restarting,<0.16005.43>} exit with reason reached_max_restart_intensity in context shutdown