Problem: performance issue on transaction lookup (#2378)

Solution: create the correct index for transaction id.
Close #2377
This commit is contained in:
vrde 2018-07-10 13:51:59 +02:00 committed by Troy McConaghy
parent 744ab3d5ef
commit 1118ddffa2
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def create_transactions_secondary_index(conn, dbname):
logger.info('Create `transactions` secondary index.')
# to query the transactions for a transaction id, this field is unique
conn.conn[dbname]['transactions'].create_index('transactions.id',
conn.conn[dbname]['transactions'].create_index('id',
name='transaction_id')
# secondary index for asset uuid, this field is unique