coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

Ensured's will wait initial delay every time #409

Closed brianoliver closed 7 years ago

brianoliver commented 7 years ago

In the following code for Ensured.get() the initial delay should be outside the loop.

do
{
    // wait the initial duration
    if (initialDelayDurationMS > 0)
    {
        try
        {
            Thread.sleep(initialDelayDurationMS);
        }