Skip to content

Commit

Permalink
use ads cache to ensure the rule order
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Haka <[email protected]>
  • Loading branch information
zetaab committed Feb 16, 2024
1 parent 1775624 commit d9391fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/xds/server/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (r *Runner) Start(ctx context.Context) (err error) {
PermitWithoutStream: true,
}))

r.cache = cache.NewSnapshotCache(false, r.Logger)
r.cache = cache.NewSnapshotCache(true, r.Logger)
registerServer(serverv3.NewServer(ctx, r.cache, r.cache), r.grpc)

// Start and listen xDS gRPC Server.
Expand Down

0 comments on commit d9391fa

Please sign in to comment.