This commit is contained in:
parent
866cd7747c
commit
7bf4d40935
@ -20,7 +20,7 @@ func asyncWireguardConfigFile() {
|
|||||||
for {
|
for {
|
||||||
result, err := client.Redis.BRPop(context.Background(), 0, fmt.Sprintf("%s", constant.SyncWgConfigFile)).Result()
|
result, err := client.Redis.BRPop(context.Background(), 0, fmt.Sprintf("%s", constant.SyncWgConfigFile)).Result()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("获取任务失败")
|
//log.Errorf("获取任务失败")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user