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

Performance improvement for the diary loading #703

Merged
merged 5 commits into from
Jul 19, 2020

Conversation

shankari
Copy link
Contributor

Improve performance for diary loading by making all remote calls in parallel. This is a restricted port of #609 which removes the survey answers that are currently not used on master. The surveyanswers are removed in 202624c The others are original commits from @atton16 that he did not submit to master.

@shankari shankari merged commit b57b361 into e-mission:master Jul 19, 2020
shankari added a commit to shankari/e-mission-phone that referenced this pull request Aug 1, 2020
…s well

+ handled this similar to the server code with multiple promises in parallel
e-mission#703

+ handle stupid bug leading to "invalid date". We were populating the day using
"day", but in moment, that is the day of the week. We need to use "date" instead.
Since dates in moment are 1 indexed, this manifests as a invalid date if tested
on Sunday

Bonus of working on the weekend
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.

2 participants