Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event processor service #25

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

Add event processor service #25

wants to merge 5 commits into from

Conversation

solocommand
Copy link
Member

@solocommand solocommand commented Sep 5, 2019

This service continually processes rules (as defined) against event data to identify and flag fraudulent/bot events.

Production config should be updated to use the forever binary and options, ex docker run -e "ACCOUNT_KEY=devel" -e "MONGO_DSN=localhost" -e "NEW_RELIC_LICENSE_KEY=blah" -w /parcel-plug/services/event-processor parcel-plug ./node_modules/.bin/forever --spinSleepTime=60000 src/index.js

@solocommand
Copy link
Member Author

@zarathustra323 can you review? Per our discussion, I've removed the setInterval in favor of forever, the manual promises, and un-needed deps from the package.json.

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