Skip to content

Commit

Permalink
Merge pull request nats-io#1254 from MauriceVanVeen/maurice/bench-mem…
Browse files Browse the repository at this point in the history
…ory-storage

Fix bench memory storage
  • Loading branch information
ripienaar authored Jan 27, 2025
2 parents 348e78f + be2b2c2 commit ae19611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/bench_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ func (c *benchCmd) getPublishSubject(number int) string {

func (c *benchCmd) storageType() jetstream.StorageType {
if c.storage == "memory" {
return jetstream.FileStorage
return jetstream.MemoryStorage
} else {
return jetstream.FileStorage
}
Expand Down

0 comments on commit ae19611

Please sign in to comment.