-
Notifications
You must be signed in to change notification settings - Fork 11
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
Timeout and memory exhaust issues when trying to access the /contribution-count page. #12
Comments
Agreed. This is related (duplicate) to #6. |
…r contribution statistics.
@hussainweb I have added a draft MR, where I have introduced a new service which will have all the methods for counting contribution statistics, a controller which will be called when users will access '/contribution-count' page. We can add more functions to this service later on when working on Gamification Issue (#8). Do check the implementation and let me know your thoughts. Also, how important is the stats 'Total Patches' ? The way number of patches are stored currently, we will have to iterate through all the code contribution nodes and then get that sum which is very memory/time consuming operation. We can add appropriate caching but that cache will have to refreshed whenever a new code contribution node is added. Do you have any other solution to calculate this? Can we store this number somewhere else in the system and increment it if new patch is submitted? |
…for displaying statistics.
…ntribution count controller.
…ntribution count controller.
Issue #12 by gkapoor121212: Add controller for contribution …
This is fixed in #14. |
Due to the way, contribution count is being calculated the page /contribution-count isn't loading. The following pre-process consumes a lot of memory.
in the contrib_tracker.module.
Instead of using a view page to show statistics, we should add a controller/block which calculates statistics using entity queries.
The text was updated successfully, but these errors were encountered: