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

Add Pagination to Listing Projects for Housekeeping #587

Merged
merged 5 commits into from
Aug 15, 2023

Commits on Aug 2, 2023

  1. Add Pagination to Listing Projects for Housekeeping

    To avoid all project info being loaded from DB, pagination is added for projects and perform housekeeping in smaller portions.
    
    * Add HousekeepingProjectFetchSize in config
    
    Fix checking the last page
    
    Add housekeeping project fetch size option to the CLI flag
    
    * set project fetch size to 100 in config.sample.yml
    
    fix lint
    
    Move housekeepingProjectPage variable into the Housekeeping.run function
    
    Add keyset pagination to find projects
    
    * update housekeeping test not to set project id to zero value
    tedkimdev committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    a271e36 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2023

  1. Fix pagination in memory db

    * Cleanup code
    * add pagination test for memory db
    
    Cleanup test
    tedkimdev committed Aug 5, 2023
    Configuration menu
    Copy the full SHA
    9fec852 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Pass last project id as a value

    * add test code for mongo client
    
    * clean up test code
    tedkimdev committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    3ff9d60 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    825461b View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Configuration menu
    Copy the full SHA
    5b0705d View commit details
    Browse the repository at this point in the history