mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 19:24:42 +01:00
Attempt re-enabling JIT and opcache
This commit is contained in:
parent
4e007dc301
commit
664c4ca2fc
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit b46835763c407afd6059d17f9eaba91a6dfb578e
|
||||
Subproject commit 3aa2a561f9640cfab993c92966d48f3d21c72534
|
@ -31,6 +31,8 @@ final class Mysql extends SqlAbstract
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* 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;
|
||||
}
|
||||
/**
|
||||
* @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.
|
||||
*
|
||||
* Be careful when tweaking this setting as it may lead to slowdowns on startup.
|
||||
|
@ -7,9 +7,9 @@ ffi.enable=true
|
||||
|
||||
[opcache]
|
||||
opcache.memory_consumption=256M
|
||||
opcache.enable=0
|
||||
opcache.enable_cli=0
|
||||
opcache.jit=disable
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
opcache.jit=function
|
||||
opcache.validate_timestamps=0
|
||||
opcache.jit_buffer_size=128M
|
||||
opcache.file_update_protection=0
|
||||
|
Loading…
Reference in New Issue
Block a user