Skip to content

Commit 8a2bbb4

Browse files
committed
Do sync on insert
1 parent c98205d commit 8a2bbb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/api/internal/edge/cluster_instances.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ func (d clusterSynchronizationStore) PoolInsert(ctx context.Context, item api.Cl
170170
mutex: sync.RWMutex{},
171171
}
172172

173+
d.cluster.syncInstance(ctx, instance)
173174
d.cluster.instances.Insert(item.NodeID, instance)
174175
}
175176

0 commit comments

Comments
 (0)