From 6cc4bec2c5be18db710072e5045e47c035efa452 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Tue, 27 Jun 2017 17:33:54 +0200 Subject: [PATCH] Enable pthreads adapter detection --- src/Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filesystem.php b/src/Filesystem.php index 526d10b3..0ee40dd3 100644 --- a/src/Filesystem.php +++ b/src/Filesystem.php @@ -24,7 +24,7 @@ public static function create(LoopInterface $loop, array $options = []) } if (extension_loaded('pthreads')) { - //return static::setFilesystemOnAdapter(static::createFromAdapter(new Pthreads\Adapter($loop, $options))); + return static::setFilesystemOnAdapter(static::createFromAdapter(new Pthreads\Adapter($loop, $options))); } return static::setFilesystemOnAdapter(static::createFromAdapter(new ChildProcess\Adapter($loop, $options)));