Skip to content

Commit

Permalink
Typo Fix - Making the forking detection setting a bit clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
srjlewis committed Jan 6, 2024
1 parent f86a0c9 commit 1437a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ composer install phpfastcache/couchbasev4-extension
Once this bug has been fixed the dependency suggestion will be removed.
If your application wants to fork the processes using `pcntl_fork()` the `Posix` extension is needed, and you want the fix to be enabled, set up the config like this:
```php
$config = (new CouchbaseConfig())->doForkDetection(true);
$config = (new CouchbaseConfig())->setDoForkDetection(true);
```

2️⃣ Also the PHP `Pcntl` if you plan to contribute to this project and run the tests before pushing your Merge Request.
Expand Down

0 comments on commit 1437a43

Please sign in to comment.