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

sessions: Migrate to custom indexed session model. #29668

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 4, 2024

  1. sessions: Migrate to custom indexed session model.

    Fixes zulip#19490.
    
    Create RealmSession model with custom fields: realm, user and ip_address,
    indexed by (realm, user) and ip_address.
    
    Migrate code to use that model which results in more efficiency,
    for example bulk deletion of sessions in "zerver/lib/sessions".
    
    Create data_migration to copy over data from
    django_session table to zerver_realmsession table.
    abdelrahman725 committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    e1754fb View commit details
    Browse the repository at this point in the history