when running a bot locally that has subscribed to other bots (using npm run), we currently query alerts whenever theres a new block which comes out to about 15-20 seconds. this is too recent a time period to query since indexing alerts can take up to a minute. with this change, we wait at least one minute before querying for alerts (which is what scan node does)
when running a bot locally that has subscribed to other bots (using
npm run
), we currently query alerts whenever theres a new block which comes out to about 15-20 seconds. this is too recent a time period to query since indexing alerts can take up to a minute. with this change, we wait at least one minute before querying for alerts (which is what scan node does)