mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 04:08:59 +01:00
Add docs
This commit is contained in:
parent
b014adaf0d
commit
bca3902fb6
@ -97,6 +97,7 @@ Some of MadelineProto's core components are also available as separate, standalo
|
||||
* [Databases on docker](https://docs.madelineproto.xyz/docs/DOCKER.html#databases-on-docker)
|
||||
* [Web docker](https://docs.madelineproto.xyz/docs/DOCKER.html#web-docker)
|
||||
* [Custom extensions](https://docs.madelineproto.xyz/docs/DOCKER.html#custom-extensions)
|
||||
* [Metrics](https://docs.madelineproto.xyz/docs/METRICS.html) - MadelineProto can expose many useful metrics, that can be visualized using the official MadelineProto Grafana dashboard.
|
||||
* [Installation](https://docs.madelineproto.xyz/docs/INSTALLATION.html) - There are various ways to install MadelineProto:
|
||||
* [Simple](https://docs.madelineproto.xyz/docs/INSTALLATION.html#simple)
|
||||
* [Composer from existing project](https://docs.madelineproto.xyz/docs/INSTALLATION.html#composer-from-existing-project)
|
||||
|
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 6a47633e88e55ce95846f4f89dc2d774b9742a83
|
||||
Subproject commit 9cf886d25e36c6e7fba442dc7da320bd3fad5b5c
|
@ -76,6 +76,7 @@ final class GarbageCollector
|
||||
self::$inuse = self::$prometheus->registerGauge("MadelineProto", "php_memstats_inuse_bytes", "RAM actually used by PHP");
|
||||
|
||||
$counter = self::$prometheus->registerCounter("MadelineProto", "explicit_gc_count", "Number of times the GC was explicitly invoked");
|
||||
$counter->incBy(0);
|
||||
EventLoop::unreference(EventLoop::repeat(1, static function () use ($counter): void {
|
||||
$currentMemory = self::getMemoryConsumption();
|
||||
if ($currentMemory > self::$memoryConsumption + self::$memoryDiffMb) {
|
||||
|
@ -99,6 +99,7 @@ $order = [
|
||||
'FEATURES',
|
||||
'REQUIREMENTS',
|
||||
'DOCKER',
|
||||
'METRICS',
|
||||
'INSTALLATION',
|
||||
'BROADCAST',
|
||||
'UPDATES',
|
||||
|
Loading…
Reference in New Issue
Block a user