优化代码

This commit is contained in:
GoEdgeLab
2021-12-15 20:46:42 +08:00
parent df5ffe6be7
commit 77d62d9ef0

View File

@@ -51,7 +51,7 @@ func (this *SyncClusterTask) loop() error {
} }
ctx := rpcClient.Context(0) ctx := rpcClient.Context(0)
tasksResp, err := rpcClient.NodeTaskRPC().FindNotifyingNodeTasks(ctx, &pb.FindNotifyingNodeTasksRequest{Size: 100}) tasksResp, err := rpcClient.NodeTaskRPC().FindNotifyingNodeTasks(ctx, &pb.FindNotifyingNodeTasksRequest{Size: 200})
if err != nil { if err != nil {
return err return err
} }