Skip to content

Commit

Permalink
Fixing forced OpCache Invalidation on every call, which is resulting …
Browse files Browse the repository at this point in the history
…in fast raising wasted memory

#1007
  • Loading branch information
stephanlueckl committed Jul 29, 2024
1 parent 8214c1c commit 7b7ef2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Compiled.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private function write(Template $_template, $code) {
* HHVM requires a workaround because of a PHP incompatibility
*
* @param Template $_smarty_tpl do not change/remove variable name, is used by compiled template
* @param bool $invalidateCachedFiles
* @param bool $invalidateCachedFiles forces a revalidation of the file in opcache or apc cache (if available)
*
*/
private function loadCompiledTemplate(Template $_smarty_tpl, bool $invalidateCachedFiles = true) {
Expand Down

0 comments on commit 7b7ef2a

Please sign in to comment.