Skip to content

Commit 945f948

Browse files
committed
flock not work in nfs
1 parent 1bb4c31 commit 945f948

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Worker.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,8 @@ class Worker
466466
* @var array
467467
*/
468468
protected static $_availableEventLoops = array(
469-
'libevent' => '\Workerman\Events\Libevent',
470-
'event' => '\Workerman\Events\Event'
471-
// Temporarily removed swoole because it is not stable enough
472-
//'swoole' => '\Workerman\Events\Swoole'
469+
'event' => '\Workerman\Events\Event',
470+
'libevent' => '\Workerman\Events\Libevent'
473471
);
474472

475473
/**
@@ -535,13 +533,11 @@ public static function runAll()
535533
{
536534
static::checkSapiEnv();
537535
static::init();
538-
static::lock();
539536
static::parseCommand();
540537
static::daemonize();
541538
static::initWorkers();
542539
static::installSignal();
543540
static::saveMasterPid();
544-
static::unlock();
545541
static::displayUI();
546542
static::forkWorkers();
547543
static::resetStd();

0 commit comments

Comments
 (0)