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

[backend] Add feed queue control. Only add jobs if current queue is empty #8617

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

Conversation

richard-julien
Copy link
Member

@richard-julien richard-julien commented Oct 7, 2024

[backend] Add feed queue control. Only add jobs if current queue is empty

  • move from dynamic to static to prevent overlap
  • Schedule every 30 sec
  • If queue is not empty, put the connector in queue control mode, no work, keep the state
  • If queue empty, create the work

Job will not be cumulated but as the scheduling is faster, it should have a better behavior overall

Copy link

codecov bot commented Oct 7, 2024

Codecov Report

Attention: Patch coverage is 20.75472% with 42 lines in your changes missing coverage. Please review.

Project coverage is 65.95%. Comparing base (ae45222) to head (421d11c).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...rm/opencti-graphql/src/manager/ingestionManager.ts 20.75% 42 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8617      +/-   ##
==========================================
- Coverage   65.97%   65.95%   -0.02%     
==========================================
  Files         597      597              
  Lines       60678    60697      +19     
  Branches     6204     6203       -1     
==========================================
+ Hits        40032    40034       +2     
- Misses      20646    20663      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant