Skip to content

Need an expiry on the product cache used in listProducts() #1

Description

@jhmirage

https://github.com/greese/dasein-cloud-cloudstack/blob/master/src/main/java/org/dasein/cloud/cloudstack/compute/VirtualMachines.java#L697

As far as I can see, this cache will never expire, which means that once we have a list of products we don't pick up changed values or additional items without restarting the component that has dasein memory-resident.

I'm thinking a 1-2 hour timeout seems appropriate... certainly doesn't need to be called often, so it can be fairly long.

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