Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mobject-store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
mobject-store
Commits
f81ae155
Commit
f81ae155
authored
Nov 09, 2017
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better expose another env variable
parent
70ffe5a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/client/cluster.c
src/client/cluster.c
+1
-1
src/client/cluster.h
src/client/cluster.h
+1
-0
No files found.
src/client/cluster.c
View file @
f81ae155
...
...
@@ -157,7 +157,7 @@ void mobject_store_shutdown(mobject_store_t cluster)
if
(
!
cluster_handle
->
connected
)
return
;
svr_kill_env_str
=
getenv
(
"MOBJECT_SHUTDOWN_KILL_SERVERS"
);
svr_kill_env_str
=
getenv
(
MOBJECT_CLUSTER_SHUTDOWN_KILL_ENV
);
if
(
svr_kill_env_str
&&
!
strcmp
(
svr_kill_env_str
,
"true"
))
{
/* kill server cluster if requested */
...
...
src/client/cluster.h
View file @
f81ae155
...
...
@@ -11,6 +11,7 @@
#include "libmobject-store.h"
#define MOBJECT_CLUSTER_FILE_ENV "MOBJECT_CLUSTER_FILE"
#define MOBJECT_CLUSTER_SHUTDOWN_KILL_ENV "MOBJECT_SHUTDOWN_KILL_SERVERS"
struct
mobject_store_handle
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment