Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !1954

Merged
Created Jun 10, 2024 by Vincent Pelletier@vpelletierOwner

WIP: CMFActivity: remove 1k validation/queue/s rate limit

  • Overview 3
  • Commits 3
  • Changes 3

I discovered that CMFActivity's validation willingly hands control back to timerserver after a fixed number of activities were successfully validated (1000).

This means it is not possible to validate more than 1k activities per queue per second.

In this merge request, I introduce two preparatory changes and then the main logic change: let CMFActivity.distribute whether Activities.SQLBase.distribute reached the end of the activities it could try to validate (by returning on an empty select result), and only then hand control over to timerserver, similarly to what was already done for processing nodes.

/cc @Nicolas

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: cmfactivity_remove_1k_valdiation_per_second_per_queue_rate_limit
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7