Skip to content

Commit 5072400

Browse files
committed
Remove default pprof enabled values
1 parent a9160ac commit 5072400

File tree

9 files changed

+0
-20
lines changed

9 files changed

+0
-20
lines changed

chain/dev/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ modules = [
5252
ws-port = 8546
5353

5454
[pprof]
55-
enabled = false
5655
listening-address = "localhost:6060"
5756
block-rate = 0
5857
mutex-rate = 0

chain/dev/defaults.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ var (
9696
const (
9797
// PprofConfig
9898

99-
// DefaultPprofEnabled to indicate the pprof http server should be enabled or not.
100-
DefaultPprofEnabled = true
101-
10299
// DefaultPprofListeningAddress default pprof HTTP server listening address.
103100
DefaultPprofListeningAddress = "localhost:6060"
104101

chain/gssmr/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ modules = [
5454
ws-port = 8546
5555

5656
[pprof]
57-
enabled = false
5857
listening-address = "localhost:6060"
5958
block-rate = 0
6059
mutex-rate = 0

chain/gssmr/defaults.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ var (
104104
const (
105105
// PprofConfig
106106

107-
// DefaultPprofEnabled to indicate the pprof http server should be enabled or not.
108-
DefaultPprofEnabled = true
109-
110107
// DefaultPprofListeningAddress default pprof HTTP server listening address.
111108
DefaultPprofListeningAddress = "localhost:6060"
112109

chain/kusama/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ ws = false
4242
ws-external = false
4343

4444
[pprof]
45-
enabled = false
4645
listening-address = "localhost:6060"
4746
block-rate = 0
4847
mutex-rate = 0

chain/kusama/defaults.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ var (
8888
const (
8989
// PprofConfig
9090

91-
// DefaultPprofEnabled to indicate the pprof http server should be enabled or not.
92-
DefaultPprofEnabled = false
93-
9491
// DefaultPprofListeningAddress default pprof HTTP server listening address.
9592
DefaultPprofListeningAddress = "localhost:6060"
9693

chain/polkadot/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ modules = ["system", "author", "chain", "state", "rpc", "grandpa", "offchain", "
3939
ws-port = 8546
4040

4141
[pprof]
42-
enabled = false
4342
listening-address = "localhost:6060"
4443
block-rate = 0
4544
mutex-rate = 0

chain/polkadot/defaults.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ var (
8686
const (
8787
// PprofConfig
8888

89-
// DefaultPprofEnabled to indicate the pprof http server should be enabled or not.
90-
DefaultPprofEnabled = false
91-
9289
// DefaultPprofListeningAddress default pprof HTTP server listening address.
9390
DefaultPprofListeningAddress = "localhost:6060"
9491

dot/config.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ func GssmrConfig() *Config {
235235
WSPort: gssmr.DefaultRPCWSPort,
236236
},
237237
Pprof: PprofConfig{
238-
Enabled: gssmr.DefaultPprofEnabled,
239238
Settings: pprof.Settings{
240239
ListeningAddress: gssmr.DefaultPprofListeningAddress,
241240
BlockProfileRate: gssmr.DefaultPprofBlockRate,
@@ -293,7 +292,6 @@ func KusamaConfig() *Config {
293292
WSPort: kusama.DefaultRPCWSPort,
294293
},
295294
Pprof: PprofConfig{
296-
Enabled: kusama.DefaultPprofEnabled,
297295
Settings: pprof.Settings{
298296
ListeningAddress: kusama.DefaultPprofListeningAddress,
299297
BlockProfileRate: kusama.DefaultPprofBlockRate,
@@ -351,7 +349,6 @@ func PolkadotConfig() *Config {
351349
WSPort: polkadot.DefaultRPCWSPort,
352350
},
353351
Pprof: PprofConfig{
354-
Enabled: polkadot.DefaultPprofEnabled,
355352
Settings: pprof.Settings{
356353
ListeningAddress: polkadot.DefaultPprofListeningAddress,
357354
BlockProfileRate: polkadot.DefaultPprofBlockRate,
@@ -414,7 +411,6 @@ func DevConfig() *Config {
414411
WS: dev.DefaultWSEnabled,
415412
},
416413
Pprof: PprofConfig{
417-
Enabled: dev.DefaultPprofEnabled,
418414
Settings: pprof.Settings{
419415
ListeningAddress: dev.DefaultPprofListeningAddress,
420416
BlockProfileRate: dev.DefaultPprofBlockRate,

0 commit comments

Comments
 (0)