Skip to content

Why erased RuntimePath directory? #141

@pobearm

Description

@pobearm

The RuntimePath directory is erased and recreated at each Start().
In func (ep *EmbeddedPostgres) Start():

if err := os.RemoveAll(ep.config.runtimePath); err != nil {
	return fmt.Errorf("unable to clean up runtime directory %s with error: %s", ep.config.runtimePath, err)

}

Why we earse this directory every time Start? It cause very slow when starting our app.
Any ideas of use check instead of erase? Or add some options.

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