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

fix: support separate submission and guidance content & add delay between graphql operations #5

Merged

Conversation

jessicamcinchak
Copy link
Member

Addressing two things here:

  • DrawBoundary accounts for different "guidance" versus "submission" content (PropertyInformation is same across all)
  • Adds a delay in the loop to hopefully ease the Hasura timeout issue on staging

@@ -79,6 +79,9 @@ ask.start();
} catch (error) {
console.log(chalk.red(error));
}

// wait 5 seconds before proceeding through next item in loop to avoid Hasura timeouts
await delay(5000);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, this only sort-of helped the FOI issue - I still added a limit & offset when fetching flows. But since this is going to be a one-time run, I think we can just live with that manual limit/offset on that scenario?

I'll make sure to wait to run on prod until after hours though in case we trigger downtime.

@jessicamcinchak jessicamcinchak marked this pull request as ready for review January 24, 2024 11:46
@jessicamcinchak jessicamcinchak requested a review from a team January 24, 2024 11:47
@jessicamcinchak jessicamcinchak merged commit 43146db into main Jan 24, 2024
2 checks passed
@jessicamcinchak jessicamcinchak deleted the jess/support-separate-submission-guidance-content branch January 24, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants