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

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