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

5371 max persisted sessions #943

Merged
merged 1 commit into from
Dec 17, 2020
Merged

5371 max persisted sessions #943

merged 1 commit into from
Dec 17, 2020

Conversation

kstenerud
Copy link
Contributor

@kstenerud kstenerud commented Dec 15, 2020

Goal

Adding max persisted sessions config option to bring the library in line with the current notifier spec (PLAT-5371)

Testing

  • New unit tests

E2E tests are not possible because all persisted sessions are queued for sending immediately upon creating a new session. I was able to verify that only the configured number of sessions are persisted, and all others are deleted.

@kstenerud kstenerud force-pushed the 5371-maxPersistedSessions branch from 07c6a55 to 6e19bb9 Compare December 15, 2020 09:23
…w many unsent sessions will be kept before deleting the oldest.
@kstenerud kstenerud force-pushed the 5371-maxPersistedSessions branch from 6e19bb9 to 23a49ba Compare December 16, 2020 10:19
@kstenerud kstenerud changed the base branch from master to next December 16, 2020 10:19
@kstenerud kstenerud marked this pull request as ready for review December 16, 2020 10:20
@kstenerud kstenerud merged commit a8d712a into next Dec 17, 2020
@kstenerud kstenerud deleted the 5371-maxPersistedSessions branch December 17, 2020 09:05
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.

3 participants