Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Update shm key setting
Browse files Browse the repository at this point in the history
  • Loading branch information
aerospikerobertmarks committed Feb 21, 2019
1 parent d7f10a1 commit 51e0309
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
7.4.0
7.4.1
4 changes: 2 additions & 2 deletions doc/phpdoc/aerospike.php
Expand Up @@ -47,7 +47,7 @@
* aerospike.shm.use = false;
* // Explicitly sets the shm key for this client to store shared-memory
* // cluster tending results in.
* aerospike.shm.key = 0xA7000000; // integer value
* aerospike.shm.key = 0xA8000000; // integer value
* // Shared memory maximum number of server nodes allowed. Leave a cushion so
* // new nodes can be added without needing a client restart.
* aerospike.shm.max_nodes = 16;
Expand Down Expand Up @@ -122,7 +122,7 @@ class Aerospike {
* (even an empty one) is provided. Disabled by default.
* * _shm\_key_ explicitly sets the shm key for the cluster. It is
* otherwise implicitly evaluated per unique hostname, and can be
* inspected with shmKey(). (default: 0xA7000000)
* inspected with shmKey(). (default: 0xA8000000)
* * _shm\_max\_nodes_ maximum number of nodes allowed. Pad so new nodes
* can be added without configuration changes (default: 16)
* * _shm\_max\_namespaces_ maximum number of namespaces allowed (default: 8)
Expand Down
2 changes: 1 addition & 1 deletion src/aerospike.c
Expand Up @@ -37,7 +37,7 @@ PHP_INI_BEGIN()
STD_PHP_INI_ENTRY("aerospike.key_policy", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM|PHP_INI_USER, OnUpdateLong, key_policy, zend_aerospike_globals, aerospike_globals)
STD_PHP_INI_ENTRY("aerospike.key_gen", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM|PHP_INI_USER, OnUpdateLong, key_gen, zend_aerospike_globals, aerospike_globals)
STD_PHP_INI_ENTRY("aerospike.shm.use", "false", PHP_INI_PERDIR|PHP_INI_SYSTEM|PHP_INI_USER, OnUpdateBool, shm_use, zend_aerospike_globals, aerospike_globals)
STD_PHP_INI_ENTRY("aerospike.shm.key", "0xA7000000", PHP_INI_PERDIR|PHP_INI_SYSTEM|PHP_INI_USER, OnUpdateLong, shm_key, zend_aerospike_globals, aerospike_globals)
STD_PHP_INI_ENTRY("aerospike.shm.key", "0xA8000000", PHP_INI_PERDIR|PHP_INI_SYSTEM|PHP_INI_USER, OnUpdateLong, shm_key, zend_aerospike_globals, aerospike_globals)
STD_PHP_INI_ENTRY("aerospike.shm.max_nodes", "16", PHP_INI_PERDIR|PHP_INI_SYSTEM|PHP_INI_USER, OnUpdateLong, shm_max_nodes, zend_aerospike_globals, aerospike_globals)
STD_PHP_INI_ENTRY("aerospike.shm.max_namespaces", "8", PHP_INI_PERDIR|PHP_INI_SYSTEM|PHP_INI_USER, OnUpdateLong, shm_max_namespaces, zend_aerospike_globals, aerospike_globals)
STD_PHP_INI_ENTRY("aerospike.shm.takeover_threshold_sec", "30", PHP_INI_PERDIR|PHP_INI_SYSTEM|PHP_INI_USER, OnUpdateLong, shm_takeover_threshold_sec, zend_aerospike_globals, aerospike_globals)
Expand Down
2 changes: 1 addition & 1 deletion src/php_aerospike.h
Expand Up @@ -6,7 +6,7 @@ extern zend_module_entry aerospike_module_entry;
#define phpext_aerospike_ptr &aerospike_module_entry


#define PHP_AEROSPIKE_VERSION "7.4.0"
#define PHP_AEROSPIKE_VERSION "7.4.1"

#ifdef PHP_WIN32
# define PHP_AEROSPIKE_API __declspec(dllexport)
Expand Down

0 comments on commit 51e0309

Please sign in to comment.