]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update Opcache recommendation 5015/head
authorMorris Jobke <hey@morrisjobke.de>
Sun, 21 May 2017 23:21:28 +0000 (18:21 -0500)
committerMorris Jobke <hey@morrisjobke.de>
Sun, 21 May 2017 23:24:06 +0000 (18:24 -0500)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
core/js/setupchecks.js
core/js/tests/specs/setupchecksSpec.js

index 499709c0696913679877815fb938edca57da0c69..14718446a22afff88e023fb02c53b6bdb2099f07 100644 (file)
                                                                {
                                                                        docLink: data.phpOpcacheDocumentation,
                                                                }
-                                                       ) + "<pre><code>opcache.enable=On\nopcache.enable_cli=1\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000\nopcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1</code></pre>",
+                                                       ) + "<pre><code>opcache.enable=1\nopcache.enable_cli=1\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000\nopcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1</code></pre>",
                                                        type: OC.SetupChecks.MESSAGE_TYPE_INFO
                                                });
                                        }
index 30a60d3599b0c8e194017cd4a6870c14a2a36ef5..9230484fb4000befe15d2124a1b63005f3d2f93e 100644 (file)
@@ -433,7 +433,7 @@ describe('OC.SetupChecks tests', function() {
 
                        async.done(function( data, s, x ){
                                expect(data).toEqual([{
-                                               msg: 'The PHP Opcache is not properly configured. <a href="https://example.org/link/to/doc" rel="noreferrer">For better performance we recommend ↗</a> to use following settings in the <code>php.ini</code>:' + "<pre><code>opcache.enable=On\nopcache.enable_cli=1\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000\nopcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1</code></pre>",
+                                               msg: 'The PHP Opcache is not properly configured. <a href="https://example.org/link/to/doc" rel="noreferrer">For better performance we recommend ↗</a> to use following settings in the <code>php.ini</code>:' + "<pre><code>opcache.enable=1\nopcache.enable_cli=1\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000\nopcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1</code></pre>",
                                                type: OC.SetupChecks.MESSAGE_TYPE_INFO
                                        }]);
                                done();