mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Disable Go pprof profiling in test network (#444)
Peers and Orderers by default disable Go pprof profiling, however test network was enabling pprof in peers by default. As a good practice, pprof should be disabled by default and only enabled when needed for debug profiling. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
ce5186008b
commit
6ebf692ab8
1 changed files with 3 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ services:
|
|||
- FABRIC_LOGGING_SPEC=INFO
|
||||
#- FABRIC_LOGGING_SPEC=DEBUG
|
||||
- CORE_PEER_TLS_ENABLED=true
|
||||
- CORE_PEER_PROFILE_ENABLED=true
|
||||
- CORE_PEER_PROFILE_ENABLED=false
|
||||
- CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/tls/server.crt
|
||||
- CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key
|
||||
- CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt
|
||||
|
|
@ -107,7 +107,7 @@ services:
|
|||
- FABRIC_LOGGING_SPEC=INFO
|
||||
#- FABRIC_LOGGING_SPEC=DEBUG
|
||||
- CORE_PEER_TLS_ENABLED=true
|
||||
- CORE_PEER_PROFILE_ENABLED=true
|
||||
- CORE_PEER_PROFILE_ENABLED=false
|
||||
- CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/tls/server.crt
|
||||
- CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key
|
||||
- CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt
|
||||
|
|
@ -131,7 +131,7 @@ services:
|
|||
- 9051:9051
|
||||
networks:
|
||||
- test
|
||||
|
||||
|
||||
cli:
|
||||
container_name: cli
|
||||
image: hyperledger/fabric-tools:latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue