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

cull Session digest history #3382

Merged
merged 1 commit into from Jun 1, 2013
Merged

cull Session digest history #3382

merged 1 commit into from Jun 1, 2013

Conversation

minrk
Copy link
Member

@minrk minrk commented May 29, 2013

a randomly selected ten percent is culled from the history

prevents infinite growth for long running sessions of many messages, while maintaining reasonable replay protection.

related to #1131

a randomly selected ten percent is culled from the history

prevents infinite growth for long running sessions of many messages,
while maintaining reasonable replay protection.
@Carreau
Copy link
Member

Carreau commented May 30, 2013

Looks fine to me even if it is not the part of code where I am the more confortable.
Any specific reason for 10%? want to make it configurable as well ?

@minrk
Copy link
Member Author

minrk commented May 31, 2013

I originally intended to, but it seemed like configurability overkill.

@Carreau
Copy link
Member

Carreau commented Jun 1, 2013

I originally intended to, but it seemed like configurability overkill.

Let leave it as a reader exercise then. I relaunched the travis build. and will merge if it succed.

@Carreau
Copy link
Member

Carreau commented Jun 1, 2013

And travis build succeed,... so surprise (I was mainly just curious to see if you could relaunch it).
Merging.

Carreau added a commit that referenced this pull request Jun 1, 2013
cull Session digest history

a randomly selected ten percent is culled from the history

prevents infinite growth for long running sessions of many messages, while maintaining reasonable replay protection.

Size of digest is Configurable.
related to #1131
@Carreau Carreau merged commit d3cef7f into ipython:master Jun 1, 2013
@minrk minrk deleted the culldigest branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
cull Session digest history

a randomly selected ten percent is culled from the history

prevents infinite growth for long running sessions of many messages, while maintaining reasonable replay protection.

Size of digest is Configurable.
related to ipython#1131
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.

None yet

2 participants