Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/distributed state registry #312

Merged
merged 4 commits into from
Aug 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions conf/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,4 @@ rpcTimeout: 10000
cacheRetrievalTimeout: 1000
storageRetrievalTimeout: 2000
dependencyInitialisationTimeout: 2000
stateReconciliationTimeout: 500
4 changes: 4 additions & 0 deletions src/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ exports.EVENT.PLUGIN_ERROR = 'PLUGIN_ERROR';
exports.EVENT.PLUGIN_INITIALIZATION_ERROR = 'PLUGIN_INITIALIZATION_ERROR';
exports.EVENT.PLUGIN_INITIALIZATION_TIMEOUT = 'PLUGIN_INITIALIZATION_TIMEOUT';
exports.EVENT.UNKNOWN_CALLEE = 'UNKNOWN_CALLEE';
exports.EVENT.DISTRIBUTED_STATE_ADD = 'DISTRIBUTED_STATE_ADD';
exports.EVENT.DISTRIBUTED_STATE_REMOVE = 'DISTRIBUTED_STATE_REMOVE';
exports.EVENT.DISTRIBUTED_STATE_REQUEST_FULL_STATE = 'DISTRIBUTED_STATE_REQUEST_FULL_STATE';
exports.EVENT.DISTRIBUTED_STATE_FULL_STATE = 'DISTRIBUTED_STATE_FULL_STATE';

exports.TOPIC = {};
exports.TOPIC.CONNECTION = 'C';
Expand Down
3 changes: 2 additions & 1 deletion src/default-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ exports.get = function() {
rpcTimeout: 10000,
cacheRetrievalTimeout: 1000,
storageRetrievalTimeout: 2000,
dependencyInitialisationTimeout: 2000
dependencyInitialisationTimeout: 2000,
stateReconciliationTimeout: 500
};

return options;
Expand Down
Loading