Commit 51cba7e4 authored by szh's avatar szh

rollback change to chan

parent 7a5b0c81
package app
var RollChan chan bool
func Setup() {
RollChan = make(chan bool,1)
}
......@@ -10,7 +10,6 @@ import (
)
func RollbackJob() {
for {
if value,ok := <- RollChan; ok {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment