Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev: 2.0 #443

Merged
merged 17 commits into from Jun 25, 2019
Merged

Dev: 2.0 #443

Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

fix: should stop ws server if server has been started on use ws:restart

  • Loading branch information...
inhere committed Jun 22, 2019
commit db2d935542c715bbe1ed4b3ed822b2d946317b6f
@@ -53,7 +53,7 @@ before_install:
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;'
install:
- echo 'no' | pecl install -f redis
- wget https://github.com/swoole/swoole-src/archive/v4.3.3.tar.gz -O swoole.tar.gz && mkdir -p swoole && tar -xf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && phpize && ./configure && make -j$(nproc) && make install && cd -
- wget https://github.com/swoole/swoole-src/archive/v4.3.5.tar.gz -O swoole.tar.gz && mkdir -p swoole && tar -xf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && phpize && ./configure && make -j$(nproc) && make install && cd -
- echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

before_script:
@@ -7,7 +7,7 @@ use Symfony\Component\Finder\Finder;
$iterator = Finder::create()
->files()
->name('*.php')
->notName('routes.php')
// ->notName('routes.php')
->exclude(['test'])
->in([
__DIR__ . '/src/'
@@ -163,6 +163,11 @@ public function restart(): void
{
$server = $this->createServer();
// Check if it has started
if ($server->isRunning()) {
$server->stop();
}
// Restart server
$server->restart();
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.