Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[olio] Refresh of cached URLs #8

Open
sguazt opened this issue Oct 21, 2012 · 0 comments
Open

[olio] Refresh of cached URLs #8

sguazt opened this issue Oct 21, 2012 · 0 comments

Comments

@sguazt
Copy link
Contributor

sguazt commented Oct 21, 2012

Hello,

In rain.workload.olio.OlioOperation class, method refreshCache says

Refreshes the cache by resetting it 40% of the time

However, looking at the code:

boolean resetCache = ( this._random.random( 0, 9 ) < 6 );

It really resets the cache 60% of times.

Should "< 6" be replaced by "< 4"?

Cheers,

-- Marco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant