Skip to content

Fix registry ets package timestamp purging#1125

Open
elfenlaid wants to merge 1 commit intohexpm:mainfrom
elfenlaid:fix-timestamp-purging
Open

Fix registry ets package timestamp purging#1125
elfenlaid wants to merge 1 commit intohexpm:mainfrom
elfenlaid:fix-timestamp-purging

Conversation

@elfenlaid
Copy link

The changes fix typo in timestamp and now Hex.Registry.Server.prefetch should properly clean all entries associated with packages from state.ets.

The rest of the file uses timestamp keys, like here:

:ets.insert(tid, {{:timestamp, repo, package, version}, now})

I also checked for typos in other keys or key that could be omitted from purge_repo_matchspec, just in case, but everything seems fine aside from that typo in timestamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant