Limiting dataset for notify_credentials job
notify_credentials job when executed without any restriction consumes a lot of memory because of huge dataset that makes it unsuable to be executed periodically. This patch would time bound it to only work on last day dataset. PROD-1190
Showing
- openedx/core/djangoapps/credentials/management/commands/notify_credentials.py 17 additions, 2 deletions...pps/credentials/management/commands/notify_credentials.py
- openedx/core/djangoapps/credentials/management/commands/tests/test_notify_credentials.py 30 additions, 0 deletions...ials/management/commands/tests/test_notify_credentials.py
Please register or sign in to comment