Skip to content

Commit

Permalink
default: adjust block size to 150kb && gbt timeout to 800ms
Browse files Browse the repository at this point in the history
  • Loading branch information
dindinw committed May 22, 2024
1 parent 2d022f9 commit 7b34063
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/common/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const (
defaultLogFilename = "qng.log"
defaultGenerate = false
defaultBlockMinSize = 0
// 122880 = 120 KB (120*1024)
defaultBlockMaxSize = 122880
// 153600 = 150 KB (150*1024)
defaultBlockMaxSize = 153600
defaultMaxRPCClients = 10
defaultMaxRPCWebsockets = 25
defaultMaxRPCConcurrentReqs = 20
Expand All @@ -41,7 +41,7 @@ const (
defaultMinBlockDataCache = 2000
defaultMinRelayTxFee = int64(1e4)
defaultObsoleteHeight = 5
defaultGBTTimeout = 1000 // default gbt timeout 1s = 1000ms
defaultGBTTimeout = 800 // default gbt timeout 800 ms
)
const (
defaultSigCacheMaxSize = 100000
Expand Down

0 comments on commit 7b34063

Please sign in to comment.