Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

One bug, and one refactor #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dieswaytoofast
Copy link

You were using send_interval instead of apply_interval - which would work if you were handling the message in handle_info, but since you already have the MFA for mlapi_scavenger:scavenge/1 and mlapi_scavenger:reset_timer/1, I figured apply_interval works better.

Also, I refactored the code to simplify it slightly. (IMHO. YMMV)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant