Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Restore and obsolete the CompactOnMemoryPressure property #333

Merged
merged 1 commit into from
Jul 7, 2017

Conversation

JunTaoLuo
Copy link
Contributor

Addresses #320

Do we need a fwlink for this?

Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for a fwlink, there's not much worth explaining.

@@ -11,6 +11,9 @@ public class MemoryCacheOptions : IOptions<MemoryCacheOptions>
{
public ISystemClock Clock { get; set; }

[Obsolete("This is obsolete and will be removed in a future version.")]
public bool CompactOnMemoryPressure { get; set; } = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to change the default to false? :-) we don't do it anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depends on how much of this we want to keep the same as before. Doesn't really matter either way.

@JunTaoLuo JunTaoLuo force-pushed the johluo/restore-compactonmemorypressure branch from 8a78cc3 to 3b45440 Compare July 7, 2017 18:38
@JunTaoLuo JunTaoLuo merged commit 3b45440 into dev Jul 7, 2017
@JunTaoLuo JunTaoLuo deleted the johluo/restore-compactonmemorypressure branch July 7, 2017 18:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants