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

Prune oldest instead of newest persisted sessions #1364

Merged
merged 1 commit into from
May 13, 2022

Conversation

nickdowell
Copy link
Contributor

@nickdowell nickdowell commented May 13, 2022

Goal

Fix a bug introduced by #1362

Changeset

Delete the first (oldest) entry from sortedFiles when pruning old persisted session.

Testing

The automated tests don't currently verify this behaviour...

@github-actions
Copy link

Bugsnag.framework binary size did not change - 821,008 bytes

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0%      +8  +0.0%      +8    __TEXT,__text
  -0.1%      -8  -0.1%      -8    [__TEXT]
  [ = ]       0  [ = ]       0    TOTAL

Generated by 🚫 Danger

@nickdowell nickdowell force-pushed the nickdowell/fix-max-persisted-sessions branch from 10acc3d to 3320b6f Compare May 13, 2022 09:08
@nickdowell nickdowell merged commit c6a9738 into next May 13, 2022
@nickdowell nickdowell deleted the nickdowell/fix-max-persisted-sessions branch May 13, 2022 09:35
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.

2 participants