mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 19:14:41 -07:00
Merge pull request #1411 from ripienaar/js_preview_banner
adds a warning banner about the preview status
This commit is contained in:
@@ -144,7 +144,20 @@ func (s *Server) EnableJetStream(config *JetStreamConfig) error {
|
||||
return fmt.Errorf("Error setting up internal jetstream subscriptions: %v", err)
|
||||
}
|
||||
|
||||
s.Noticef("----------- JETSTREAM (Beta) -----------")
|
||||
s.Warnf(" _ ___ _____ ___ _____ ___ ___ _ __ __")
|
||||
s.Warnf(" _ | | __|_ _/ __|_ _| _ \\ __| /_\\ | \\/ |")
|
||||
s.Warnf("| || | _| | | \\__ \\ | | | / _| / _ \\| |\\/| |")
|
||||
s.Warnf(" \\__/|___| |_| |___/ |_| |_|_\\___/_/ \\_\\_| |_|")
|
||||
s.Warnf("")
|
||||
s.Warnf(" _ _")
|
||||
s.Warnf(" | |__ ___| |_ __ _")
|
||||
s.Warnf(" | '_ \\/ -_) _/ _` |")
|
||||
s.Warnf(" |_.__/\\___|\\__\\__,_|")
|
||||
s.Warnf("")
|
||||
s.Warnf(" JetStream is a Beta feature")
|
||||
s.Warnf(" https://github.com/nats-io/jetstream")
|
||||
s.Noticef("")
|
||||
s.Noticef("----------- JETSTREAM -----------")
|
||||
s.Noticef(" Max Memory: %s", FriendlyBytes(cfg.MaxMemory))
|
||||
s.Noticef(" Max Storage: %s", FriendlyBytes(cfg.MaxStore))
|
||||
s.Noticef(" Store Directory: %q", cfg.StoreDir)
|
||||
|
||||
Reference in New Issue
Block a user