Browse Source

Make import batch size configurable via env

pull/223/head
Clemens Wolff 5 years ago
parent
commit
44de1824af
1 changed files with 1 additions and 1 deletions
  1. 2
      app/app/settings.py

2
app/app/settings.py

@ -257,7 +257,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
# Size of the batch for creating documents # Size of the batch for creating documents
# on the import phase # on the import phase
IMPORT_BATCH_SIZE = 500
IMPORT_BATCH_SIZE = env.int('IMPORT_BATCH_SIZE', 500)
GOOGLE_TRACKING_ID = env('GOOGLE_TRACKING_ID', 'UA-125643874-2') GOOGLE_TRACKING_ID = env('GOOGLE_TRACKING_ID', 'UA-125643874-2')

Loading…
Cancel
Save