RSS Feed/News How can I correctly update pruneImageCache with a larger fetch limit?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,816
Points
823

Reputation:

We had to adjust the pruneImageCache function in /XF/Repository/ImageProxy.php due to a storage runaway situation with the standard 2,000 fetch limit. We upped it to 20,000 and that seems to be working, but it also causes the file health check to report unexpected contents (understandably so).

If we wanted to make this change "permanent" and tell XF to stop reporting this specific adjustment as unexpected, how can we do so? I don't want us to get accustomed to seeing constant file health...

Read more

Continue reading...
 
Status
Not open for further replies.
Top