gmx metadata and backfill in finaldata
This commit is contained in:
@@ -160,8 +160,6 @@ def create_backfill_handler(ohlcs: FinalOHLCRepository):
|
|||||||
updates = await fetch_price_updates()
|
updates = await fetch_price_updates()
|
||||||
backfill_addrs = [addr for addr, time, price in updates if not ohlcs.has_symbol(addr)]
|
backfill_addrs = [addr for addr, time, price in updates if not ohlcs.has_symbol(addr)]
|
||||||
|
|
||||||
backfill_addrs = [backfill_addrs[0]] # todo remove debug
|
|
||||||
|
|
||||||
if backfill_addrs:
|
if backfill_addrs:
|
||||||
log.info(f'Backfilling {len(backfill_addrs)} new GMX tokens')
|
log.info(f'Backfilling {len(backfill_addrs)} new GMX tokens')
|
||||||
await asyncio.gather(*[backfill_token(ohlcs, a) for a in backfill_addrs])
|
await asyncio.gather(*[backfill_token(ohlcs, a) for a in backfill_addrs])
|
||||||
|
|||||||
Reference in New Issue
Block a user