Skip to content

Commit

Permalink
use ADS cache to ensure the rule order (#2634)
Browse files Browse the repository at this point in the history
use ads cache to ensure the rule order

Signed-off-by: Jesse Haka <[email protected]>
  • Loading branch information
zetaab authored Feb 17, 2024
1 parent cc88e9c commit f7df0e2
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 f7df0e2

Please sign in to comment.