Description

Expiring view cache using the 'Delete view cache from here' menu option ignores the [ContentSettings],CacheThreshold setting.
This can cause performance issues, and possibly even db deadlocks on sites with very large content trees and/or load.

Steps to reproduce:

In site.ini, ContentSettings group, specify a low value for CacheThreshold (such as 25)

Enable kernel-content-edit condition in debug.ini

In the administration interface, click to view the root node; click class icon for the popup menu, and choose the 'Delete view cache from here' option.

Result:

The content objects will be cleared one by one, as can be verified in the debug log. sample: