Merge branch 'master' of github.com:simple-rules/harmony-benchmark

pull/15/head
alok 7 years ago
commit e166f730e0
  1. 3
      aws-code/transaction_generator.go
  2. 2
      deploy.sh

@ -143,7 +143,6 @@ func main() {
// h := log.CallerFileHandler(log.StdoutHandler) // h := log.CallerFileHandler(log.StdoutHandler)
log.Root().SetHandler(h) log.Root().SetHandler(h)
// Client server setup // Client server setup
clientPort := getClientPort(&config) clientPort := getClientPort(&config)
if clientPort != "" { if clientPort != "" {
@ -156,7 +155,6 @@ func main() {
}() }()
} }
// Testing node to mirror the node data in consensus // Testing node to mirror the node data in consensus
nodes := []node.Node{} nodes := []node.Node{}
for _, shardId := range shardIds { for _, shardId := range shardIds {
@ -192,7 +190,6 @@ func main() {
time.Sleep(500 * time.Millisecond) // Send a batch of transactions periodically time.Sleep(500 * time.Millisecond) // Send a batch of transactions periodically
} }
// Send a stop message to stop the nodes at the end // Send a stop message to stop the nodes at the end
msg := node.ConstructStopMessage() msg := node.ConstructStopMessage()
peers := append(getValidators(*configFile), leaders...) peers := append(getValidators(*configFile), leaders...)

@ -1,6 +1,6 @@
# Create a tmp folder for logs # Create a tmp folder for logs
t=`date +"%Y%m%d-%H%M%S"` t=`date +"%Y%m%d-%H%M%S"`
log_folder="log-$t" log_folder="tmp_log/log-$t"
if [ ! -d $log_folder ] if [ ! -d $log_folder ]
then then

Loading…
Cancel
Save