Browse Source

Update sapl-logs/python-indexer.py

pull/3317/head
Edward 4 years ago
committed by GitHub
parent
commit
b281bad1a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sapl-logs/python-indexer.py

2
sapl-logs/python-indexer.py

@ -15,7 +15,7 @@ import re
# TODO: inserir timestamp no logging do python-indexer.py
# TODO: trocar por False em produção
USE_SOLR = config('USE_SOLR', default="True", cast=bool)
USE_SOLR = config('USE_SOLR', default="False", cast=bool)
SOLR_BASE_URL = config('SOLR_URL', default="http://localhost:8983") + '/solr'
SOLR_UPDATE_URL = f'{SOLR_BASE_URL}/sapl-logs/update?commitWithin=1000'

Loading…
Cancel
Save