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

Implement pagination for Forms stream #260

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RushiT0122
Copy link
Contributor

@RushiT0122 RushiT0122 commented Jul 25, 2024

Description of change

Support ticket: TDL-26309

Implement pagination for forms endpoint to fix 504 Server Error: Gateway Time-out.

Manual QA steps

  • Tested pagination with update integration tests

Risks

Rollback steps

  • revert this branch

if record[bookmark_key] >= max_bk_value:
max_bk_value = record[bookmark_key]
# Check for pagination
params = {'formTypes': 'ALL',
Copy link
Member

Choose a reason for hiding this comment

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

Any significance of adding formTypes=ALL in params?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is optional parameter, we can remove it.

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