1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 05:58:58 +01:00

Attempt re-enabling JIT and opcache

This commit is contained in:
Daniil Gentili 2023-12-22 20:47:49 +01:00
parent 4e007dc301
commit 664c4ca2fc
3 changed files with 8 additions and 4 deletions

2
docs

@ -1 +1 @@
Subproject commit b46835763c407afd6059d17f9eaba91a6dfb578e Subproject commit 3aa2a561f9640cfab993c92966d48f3d21c72534

View File

@ -31,6 +31,8 @@ final class Mysql extends SqlAbstract
*/ */
private ?int $optimizeIfWastedGtMb = null; private ?int $optimizeIfWastedGtMb = null;
/** /**
* @internal Not entirely sure whether this should be exposed.
*
* Whether to optimize MySQL tables automatically if more than the specified amount of megabytes is wasted by the MySQL engine. * Whether to optimize MySQL tables automatically if more than the specified amount of megabytes is wasted by the MySQL engine.
* *
* Be careful when tweaking this setting as it may lead to slowdowns on startup. * Be careful when tweaking this setting as it may lead to slowdowns on startup.
@ -50,6 +52,8 @@ final class Mysql extends SqlAbstract
return $this; return $this;
} }
/** /**
* @internal Not entirely sure whether this should be exposed.
*
* Whether to optimize MySQL tables automatically if more than the specified amount of bytes is wasted by the MySQL engine. * Whether to optimize MySQL tables automatically if more than the specified amount of bytes is wasted by the MySQL engine.
* *
* Be careful when tweaking this setting as it may lead to slowdowns on startup. * Be careful when tweaking this setting as it may lead to slowdowns on startup.

View File

@ -7,9 +7,9 @@ ffi.enable=true
[opcache] [opcache]
opcache.memory_consumption=256M opcache.memory_consumption=256M
opcache.enable=0 opcache.enable=1
opcache.enable_cli=0 opcache.enable_cli=1
opcache.jit=disable opcache.jit=function
opcache.validate_timestamps=0 opcache.validate_timestamps=0
opcache.jit_buffer_size=128M opcache.jit_buffer_size=128M
opcache.file_update_protection=0 opcache.file_update_protection=0