-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) closes: #9574 refs: #9946 ## Description This change set builds on top of PR #9987 to plumb maxVatsOnline into JS side of SwingSet. ### Security Considerations A new locally-customizable configuration item is being passed to SwingSet from golang via initAction message. ### Scaling Considerations New config variable is read from a local config file, parsed, and included in the initAction message. However, the variable is not part of consensus and passed along to the SwingSet only once. ### Documentation Considerations new variable `maxVatsOnline` is added to `[swingset]` section of `config/app.toml` ### Testing Considerations Tested manually by watching total number of vats running as measured by looking at ps aux | grep -c 'xsnap-worker v' while running make scenario2-run-chain for different values of maxVatsOnline in the config. ### Upgrade Considerations None, since the default value is the same as previously hardcoded one.
- Loading branch information
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters