- 优化 etcd
continuous-integration/drone/push Build was killed Details

master v1.0.14
李光春 2 years ago
parent f4c272801a
commit 4f469f6f7a

@ -40,5 +40,5 @@ func (e Etcd) GetWatchKey() string {
// IssueWatchKey 下发的key
func (e Etcd) IssueWatchKey(ip string) string {
return JobSaveDir + ip + "/"
return JobSaveDir + ip
}

@ -100,6 +100,7 @@ func (e Etcd) RegisterWorker() {
}
RETRY:
log.Println("异常 RETRY ", regKey)
time.Sleep(1 * time.Second)
if cancelFunc != nil {
cancelFunc()

@ -1,3 +1,3 @@
package gojobs
const Version = "1.0.13"
const Version = "1.0.14"

Loading…
Cancel
Save