Skip to content
Snippets Groups Projects
Commit d4cfcf8d authored by Xinyuv's avatar Xinyuv
Browse files

rua

parent 2b083067
No related branches found
No related tags found
No related merge requests found
...@@ -372,7 +372,7 @@ func runSpout() { ...@@ -372,7 +372,7 @@ func runSpout() {
fmt.Println("New job started running...") fmt.Println("New job started running...")
scanner := bufio.NewScanner(file) scanner := bufio.NewScanner(file)
for scanner.Scan() { for scanner.Scan() {
time.Sleep(shared.CraneSpoutInterval) // time.Sleep(shared.CraneSpoutInterval)
// activeListMux.Lock() // activeListMux.Lock()
// fmt.Println(activeList) // fmt.Println(activeList)
// activeListMux.Unlock() // activeListMux.Unlock()
...@@ -383,7 +383,7 @@ func runSpout() { ...@@ -383,7 +383,7 @@ func runSpout() {
data := Data{ID: child.ID, Tuple: tuple} data := Data{ID: child.ID, Tuple: tuple}
childServ := child.ServNum childServ := child.ServNum
fmt.Printf("Send data to bolt %v\n", child.ID) fmt.Printf("Send data to bolt %v\n", child.ID)
fmt.Println(data) // fmt.Println(data)
// fmt.Println("Print children") // fmt.Println("Print children")
// fmt.Println(childrenBolts) // fmt.Println(childrenBolts)
// fmt.Println(child) // fmt.Println(child)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment