avoid checking atxs in the loop in atxsyncer
dshulyak opened this issue · comments
Dmitry Shulyak commented
on startup atx syncer checks locally if what in atx_sync_state table is consistent with atxs. this is suboptimal and instead we can maintain a counter of download atxs together with last_sync timestamp, and on startup check that this counter is equal to what we have in atx_sync_state.