add
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
if (!function_exists('swoole_cpu_num')) {
|
||||
function swoole_cpu_num(): int
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (!defined('SWOOLE_SOCK_TCP')) {
|
||||
define('SWOOLE_SOCK_TCP', 1);
|
||||
}
|
||||
|
||||
if (!defined('SWOOLE_PROCESS')) {
|
||||
define('SWOOLE_PROCESS', 3);
|
||||
}
|
||||
|
||||
if (!defined('SWOOLE_HOOK_ALL')) {
|
||||
define('SWOOLE_HOOK_ALL', 1879048191);
|
||||
}
|
||||
Reference in New Issue
Block a user