Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Add configuration for specifying leader instance #103

Open
cheungpat opened this issue Aug 3, 2016 · 0 comments
Open

Add configuration for specifying leader instance #103

cheungpat opened this issue Aug 3, 2016 · 0 comments

Comments

@cheungpat
Copy link
Contributor

The fastest way to fix #91, is to designate an instance as a leader instance among multiple running skygear-servers. Features may be enabled/disabled depending on whether the instance is the leader.

Environment variable suggestion: An instance is a leader if an environment variable is set as IS_LEADER=1 (or equal to other boolean true value such as yes, true etc)

cheungpat added a commit to cheungpat/skygear-server that referenced this issue Sep 1, 2016
The skygear-server can be configured as slave (default is false). When
skygear-server is slave, features that are not multiple-instance-safe
is disabled.

refs SkygearIO#103
cheungpat added a commit to cheungpat/skygear-server that referenced this issue Sep 2, 2016
The skygear-server can be configured as slave (default is false). When
skygear-server is slave, features that are not multiple-instance-safe
is disabled.

refs SkygearIO#103
cheungpat added a commit to cheungpat/skygear-server that referenced this issue Sep 2, 2016
The skygear-server can be configured as slave (default is false). When
skygear-server is slave, features that are not multiple-instance-safe
is disabled.

refs SkygearIO#103
cheungpat added a commit to cheungpat/skygear-server that referenced this issue Sep 2, 2016
The skygear-server can be configured as slave (default is false). When
skygear-server is slave, features that are not multiple-instance-safe
is disabled.

refs SkygearIO#103
rickmak added a commit that referenced this issue Sep 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant