We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7f3a48 + fbf96f8 commit ab14918Copy full SHA for ab14918
play/bb.edn
@@ -36,7 +36,7 @@
36
(Long/valueOf (or (System/getenv s) default)))
37
38
(def num-keypers (long-from-env "PLAY_NUM_KEYPERS" "3"))
39
- (def num-bootstrappers 1)
+ (def num-bootstrappers (long-from-env "PLAY_NUM_BOOTSTRAPPERS" "1"))
40
41
(def windows? (babashka.core/windows?))
42
(def no-color? windows?)
rolling-shutter/p2p/handler.go
@@ -84,7 +84,7 @@ func New(config *Config) (*P2PHandler, error) {
84
cfg.BootstrapPeers = append(cfg.BootstrapPeers, *ai)
85
}
86
87
- if len(cfg.BootstrapPeers) < 1 {
+ if len(cfg.BootstrapPeers) < 1 && !cfg.IsBootstrapNode {
88
return nil, errors.New("no bootstrap peers configured")
89
90
0 commit comments