This commit is contained in:
Daniil Gentili 2024-06-26 22:30:15 +02:00
parent b3d8cdd6a4
commit ba8a8730a5

View File

@ -2,10 +2,13 @@
namespace TelegramApiServer\Migrations;
use danog\MadelineProto\Magic;
class StartUpFixes
{
public static function fix(): void
{
define('MADELINE_WORKER_TYPE', 'madeline-ipc');
Magic::$isIpcWorker = true;
}
}