Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We could fetch the non errored triggers directly, #2277

Open
todo bot opened this issue Nov 2, 2021 · 0 comments
Open

We could fetch the non errored triggers directly, #2277

todo bot opened this issue Nov 2, 2021 · 0 comments

Comments

@todo
Copy link

todo bot commented Nov 2, 2021

// TODO: We could fetch the non errored triggers directly,
// and pass a list of ids to fetchRelatedAtTriggers
// which would avoid making the request in the loop
const settingTriggerStates = await getTriggerStates(client)
for (const [id, triggerStates] of Object.entries(settingTriggerStates)) {


This issue was generated by todo based on a TODO comment in a5cabf3 when #2276 was merged. cc @cozy.
@todo todo bot added the todo 🗒️ label Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants