Beethoven.Utils (Beethoven v0.1.1)

Module for generic utilities.

Summary

Functions

Performs a backoff wait to void race conditions in a distributed environment. (:rand.uniform(1 - max) + delta) * multiplier

Functions

backoff(max \\ 20, delta \\ 0, multiplier \\ 1)

Performs a backoff wait to void race conditions in a distributed environment. (:rand.uniform(1 - max) + delta) * multiplier