Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

OPS Tasks - Fix sleep inside of DAOBot generateRoundGithubIssues() #203

Open
idiom-bytes opened this issue Jun 29, 2022 · 0 comments
Open
Labels
Type: Bug Something isn't working

Comments

@idiom-bytes
Copy link
Collaborator

idiom-bytes commented Jun 29, 2022

checkAndGenerateNextRoundOpsSchedule() => generateRoundGithubIssues()

generateRoundGithubIssues requires an await inside of the forEach loop. Making the forEach async won't work and requires further attention.

A sleep is required here as we generate 27 github issues per cycle, and there is a max of 20() in a short amount of time via API throttling

@idiom-bytes idiom-bytes added the Type: Bug Something isn't working label Jun 29, 2022
@idiom-bytes idiom-bytes changed the title Fix sleep inside of DAOBot generateRoundGithubIssues() OPS Tasks - Fix sleep inside of DAOBot generateRoundGithubIssues() Jun 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant