Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 141
    • Merge requests 141
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • 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
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