Skip to content

The Purge method does not remove  #17

@marusicbostjan

Description

@marusicbostjan

Despite the fact that the comment in purge.go says "Purge deletes expired locks...", the Purge method does not do a delete/remove of entries in the locks collection. As a result these entries tend to accumulate over time.

Currently the Purge method only removes the locks information from the mongo collection with FindOneAndUpdate. I would be nice if Purge implemented a proper garbage collection.

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