Skip to content

Commit

Permalink
Merge pull request #68 from JarvusInnovations/develop
Browse files Browse the repository at this point in the history
Release: emergence v1.1.1
  • Loading branch information
themightychris authored May 19, 2019
2 parents 3dac3a8 + 5482565 commit c147f75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kernel-lib/services/php-fpm.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ PhpFpmService.prototype.makeConfig = function () {
'pm.max_children = '+(me.options.maxClients||50),
'pm.start_servers = '+(me.options.startServers||5),
'pm.min_spare_servers = '+(me.options.minSpareServers||1),
'pm.max_spare_servers = '+Math.round((me.options.maxClients||50)/(me.options.startServers||5))
'pm.max_spare_servers = '+(me.options.maxSpareServers||Math.round((me.options.maxClients||50)/(me.options.startServers||5)))
);

if (me.options.statusPath) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "emergence",
"preferGlobal": true,
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"dependencies": {
"hostile": "^1.3.x",
Expand Down
2 changes: 1 addition & 1 deletion php-bootstrap/lib/Cache.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function rawExists($key)

public static function rawIncrease($key, $step = 1)
{
return function_exists('apcu_dec') ? apcu_dec($key) : apc_dec($key);
return function_exists('apcu_inc') ? apcu_inc($key) : apc_inc($key);
}

public static function rawDecrease($key, $step = 1)
Expand Down

0 comments on commit c147f75

Please sign in to comment.