Skip to content

Commit

Permalink
Merge 35e7c01 into 422b9ef
Browse files Browse the repository at this point in the history
  • Loading branch information
marblestation committed Nov 26, 2019
2 parents 422b9ef + 35e7c01 commit 3032aed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions solr/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,10 @@ def cleanup_solr_request(self, payload, user_id=None):

if 'X-Amzn-Trace-Id' in request.headers:
payload['x-amzn-trace-id'] = request.headers['X-Amzn-Trace-Id']
headers['X-Amzn-Trace-Id'] = request.headers['X-Amzn-Trace-Id']
elif 'x-amzn-trace-id' in request.headers:
payload['x-amzn-trace-id'] = request.headers['x-amzn-trace-id']
headers['X-Amzn-Trace-Id'] = request.headers['x-amzn-trace-id']

payload['wt'] = 'json'
max_rows = current_app.config.get('SOLR_SERVICE_MAX_ROWS', 100)
Expand Down

0 comments on commit 3032aed

Please sign in to comment.