Skip to content

Commit

Permalink
Update server version
Browse files Browse the repository at this point in the history
  • Loading branch information
mochi-co committed Feb 5, 2024
1 parent e9f7215 commit 40e9cdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
)

const (
Version = "2.4.5" // the current server version.
Version = "2.4.6" // the current server version.
defaultSysTopicInterval int64 = 1 // the interval between $SYS topic publishes
LocalListener = "local"
InlineClientId = "inline"
Expand Down Expand Up @@ -69,7 +69,7 @@ func NewDefaultServerCapabilities() *Capabilities {
MaximumPacketSize: 0, // no maximum packet size
maximumPacketID: math.MaxUint16,
ReceiveMaximum: 1024, // maximum number of concurrent qos messages per client
MaximumInflight: 1024 * 8, // maximum number of qos > 0 messages can be stored
MaximumInflight: 1024 * 8, // maximum number of qos > 0 messages can be stored
TopicAliasMaximum: math.MaxUint16, // maximum topic alias value
SharedSubAvailable: 1, // shared subscriptions are available
MinimumProtocolVersion: 3, // minimum supported mqtt version (3.0.0)
Expand Down

0 comments on commit 40e9cdb

Please sign in to comment.