mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 00:25:35 +08:00
Update LightCacheInside.php
This commit is contained in:
@@ -17,7 +17,8 @@ class LightCacheInside
|
|||||||
public static function init(): bool
|
public static function init(): bool
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
self::createTable('wait_api', 3, 65536);
|
$size = ZMConfig::get('global', 'runtime')['inside_table_size'] ?? 65536;
|
||||||
|
self::createTable('wait_api', 3, $size);
|
||||||
self::createTable('connect', 3, 64); // 用于存单机器人模式下的机器人fd的
|
self::createTable('connect', 3, 64); // 用于存单机器人模式下的机器人fd的
|
||||||
self::createTable('static_route', 64, 256); // 用于存储
|
self::createTable('static_route', 64, 256); // 用于存储
|
||||||
self::createTable('light_array', 8, 512, 0.6);
|
self::createTable('light_array', 8, 512, 0.6);
|
||||||
|
|||||||
Reference in New Issue
Block a user