Skip to content

Imp(limiter): fetch workspaces with cursor#554

Open
e11sy wants to merge 3 commits into
masterfrom
imp/fetch-workspaces-with-cursor
Open

Imp(limiter): fetch workspaces with cursor#554
e11sy wants to merge 3 commits into
masterfrom
imp/fetch-workspaces-with-cursor

Conversation

@e11sy
Copy link
Copy Markdown
Member

@e11sy e11sy commented May 11, 2026

Problem:

hawk.workspaces query has issues with retrieving of all documents at the same time, also it does not have projection and returns whole workspace, that leads to top total execution time and enormous response len
image

Solution:

  • use projection
  • use cursor based retrieving, yield each workspace and store only 1 workspace at a time

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