Browse Source

start reporting routine

master
patrick 5 years ago
parent
commit
9795905790
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      rpn.go

+ 3
- 0
rpn.go View File

@@ -24,6 +24,9 @@ func rpnNotify(w http.ResponseWriter, r *http.Request) {
log.Printf("failed to add rpnIn %+v , error is %s", ri, err.Error())
}
fmt.Fprintf(w, "[SUCCESS]")

//start informing leanwork in separate thread, maximum 5 retry, interval 5 minutes
go startLeanworkCallBack(ri)
return
}


Loading…
Cancel
Save