Increase limit to 500 entries and warn about limit.

This commit is contained in:
Adam Kelly
2020-04-28 14:59:48 +01:00
parent 4f9edae05a
commit 543cc29ee1
3 changed files with 6 additions and 2 deletions

View File

@ -7,8 +7,8 @@ from fedireads.tasks import app
from fedireads.models import ImportJob, ImportItem
from fedireads.status import create_notification
# TODO: remove or notify about this in the UI
MAX_ENTRIES = 20
# TODO: remove or increase once we're confident it's not causing problems.
MAX_ENTRIES = 500
def create_job(user, csv_file):