osf.io
osf.io copied to clipboard
[optimization] record CountedUsage in a celery task
Purpose
avoid the problems caused by elasticsearch sometimes being slow without having to fully understand why it be slow.
Changes
if we're using celery, then use celery (to record a CountedUsage
to elasticsearch)
QA Notes
Please make verification statements inspired by your code and what your code touches.
- Verify
- Verify
What are the areas of risk?
Any concerns/considerations/questions that development raised?