Skip to content

Hard limit#11190

Draft
jkuester wants to merge 3 commits into
medic:masterfrom
jkuester:10408-replication-limit
Draft

Hard limit#11190
jkuester wants to merge 3 commits into
medic:masterfrom
jkuester:10408-replication-limit

Conversation

@jkuester

Copy link
Copy Markdown
Contributor

Description

Code review checklist

  • UI/UX backwards compatible: Test it works for the new design (enabled by default). And test it works in the old design, enable can_view_old_navigation permission to see the old design. Test it has appropriate design for RTL languages.
  • Readable: Concise, well named, follows the style guide
  • Documented: Configuration and user documentation on cht-docs
  • Tested: Unit and/or e2e where appropriate
  • Internationalised: All user facing text
  • Backwards compatible: Works with existing data and configuration or includes a migration. Any breaking changes documented in the release notes.
  • AI disclosure: Please disclose use of AI per the guidelines.

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

const REPLICATION_LIMITS = {
SUBJECTS_COUNT: 100 * 1000,
SUBJECT_HITS: 500 * 1000,
UNPURGED_DOCS_COUNT: 50 * 1000

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

REP_LIMIT = 100k

SUBJECTS_COUNT = n1
SUBJECT_HITS = n
5

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Support disabling limits

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.

1 participant