dev@locazia: fix indexer
This commit is contained in:
parent
5b57f84dcb
commit
91d8220a30
|
|
@ -101,8 +101,7 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
|
||||||
).first()
|
).first()
|
||||||
|
|
||||||
encrypted_stored_content = session.query(StoredContent).filter(
|
encrypted_stored_content = session.query(StoredContent).filter(
|
||||||
StoredContent.hash == item_content_hash_str,
|
StoredContent.hash == item_content_hash_str
|
||||||
StoredContent.onchain_index == None
|
|
||||||
).first()
|
).first()
|
||||||
if encrypted_stored_content:
|
if encrypted_stored_content:
|
||||||
encrypted_stored_content_meta = encrypted_stored_content.meta
|
encrypted_stored_content_meta = encrypted_stored_content.meta
|
||||||
|
|
@ -163,7 +162,3 @@ async def main_fn():
|
||||||
# loop = asyncio.get_event_loop()
|
# loop = asyncio.get_event_loop()
|
||||||
# loop.run_until_complete(main())
|
# loop.run_until_complete(main())
|
||||||
# loop.close()
|
# loop.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue