Skip to content

[olio] Refresh of cached URLs #8

@sguazt

Description

@sguazt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions