Skip to content

PR210: lifetime mgnt of the cache dir #529

Description

@rasmunk

In PR #210 I have question about how you establish the cache_dir beyond provisioning it ahead of time during testing, or manually via the prime_templates call in mig/lib/templates/__main__.

That is, if the directory is removed or not established ahead of time, how does the TemplateStore ensure that the directory is present and available when the service is running.

Maybe during the initial construction before it is added to the configuration context should it ensure that it is created. So that we don't hit the disk on every render

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions