Skip to content
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
18 changes: 9 additions & 9 deletions server/jetstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ import (
// JetStreamConfig determines this server's configuration.
// MaxMemory and MaxStore are in bytes.
type JetStreamConfig struct {
MaxMemory int64 `json:"max_memory"`
MaxStore int64 `json:"max_storage"`
StoreDir string `json:"store_dir,omitempty"`
SyncInterval time.Duration `json:"sync_interval,omitempty"`
SyncAlways bool `json:"sync_always,omitempty"`
Domain string `json:"domain,omitempty"`
CompressOK bool `json:"compress_ok,omitempty"`
UniqueTag string `json:"unique_tag,omitempty"`
Strict bool `json:"strict,omitempty"`
MaxMemory int64 `json:"max_memory"` // MaxMemory is the maximum size of memory type streams
MaxStore int64 `json:"max_storage"` // MaxStore is the maximum size of file store type streams
StoreDir string `json:"store_dir,omitempty"` // StoreDir is where storage files are stored
SyncInterval time.Duration `json:"sync_interval,omitempty"` // SyncInterval is how frequently we sync to disk in the background by calling fsync
SyncAlways bool `json:"sync_always,omitempty"` // SyncAlways indicates flushes are done after every write
Domain string `json:"domain,omitempty"` // Domain is the JetStream domain
CompressOK bool `json:"compress_ok,omitempty"` // CompressOK indicates if compression is supported
UniqueTag string `json:"unique_tag,omitempty"` // UniqueTag is the unique tag assigned to this instance
Strict bool `json:"strict,omitempty"` // Strict indicates if strict JSON parsing is performed
}

// Statistics about JetStream for this server.
Expand Down
Loading