From 2df9996ecbb7368455d8424d95e725f979741b3b Mon Sep 17 00:00:00 2001 From: Silvio Moioli Date: Wed, 5 Jun 2024 15:41:13 +0200 Subject: [PATCH] add doc Signed-off-by: Silvio Moioli --- pkg/server/server.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/server/server.go b/pkg/server/server.go index 85f98a35..9643a905 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -71,7 +71,8 @@ type Options struct { AggregationSecretName string ClusterRegistry string ServerVersion string - SQLCache bool + // SQLCache enables the SQLite-based lasso caching mechanism + SQLCache bool } func New(ctx context.Context, restConfig *rest.Config, opts *Options) (*Server, error) { @@ -91,7 +92,8 @@ func New(ctx context.Context, restConfig *rest.Config, opts *Options) (*Server, aggregationSecretName: opts.AggregationSecretName, ClusterRegistry: opts.ClusterRegistry, Version: opts.ServerVersion, - SQLCache: opts.SQLCache, + // SQLCache enables the SQLite-based lasso caching mechanism + SQLCache: opts.SQLCache, } if err := setup(ctx, server); err != nil {