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

Speed up get_events_in_database by preprocessing events on backend #164

Open
wfehrnstrom opened this issue Apr 9, 2020 · 0 comments
Open
Labels

Comments

@wfehrnstrom
Copy link
Collaborator

wfehrnstrom commented Apr 9, 2020

If my understanding is correct, events_current_processed_collection consists of all events already ready to be served directly to frontend. If this understanding is correct, then we are ```
doing extra work when we are processing these events again, here:

if one_result_expected:
# check if it is in eventbrite database
single_event = events_current_processed_collection.find_one(find_dict)
if single_event:
output.append(event_processor.process_event_info(single_event))

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

No branches or pull requests

1 participant