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

rua

parent 693ac563
No related branches found
No related tags found
No related merge requests found
...@@ -374,7 +374,7 @@ func runSpout() { ...@@ -374,7 +374,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()
......
...@@ -25,7 +25,7 @@ const CraneServerWorkerPort = 6325 ...@@ -25,7 +25,7 @@ const CraneServerWorkerPort = 6325
const CraneServerBackupPort = 6326 const CraneServerBackupPort = 6326
const CraneWorkerPort = 12450 const CraneWorkerPort = 12450
const CraneDataCollectionPort = 12451 const CraneDataCollectionPort = 12451
const CraneSpoutInterval = 200 * time.Millisecond const CraneSpoutInterval = 2 * time.Millisecond
const CraneTimeoutInterval = 3 * time.Second const CraneTimeoutInterval = 3 * time.Second
var CraneClientServNum int var CraneClientServNum int
......
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