Skip to content

Conversation

ronaldex
Copy link

use the actual $mode parameter instead of forcing append mode.

This behaviour caused problems on our load balancing server configuration (2 servers accessing the same modx cache directory using NFS). It lead to corrupt cache; despite the pointer is being set to the start of the file, the cache file would contain appended content.

use the actual $mode parameter instead of forcing append mode
@dimitrihilverda
Copy link

Tested this and this works, and as far as I can see does not break any other thing.

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