Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
Signed-off-by: Silvio Moioli <[email protected]>
  • Loading branch information
moio committed Jun 5, 2024
1 parent 7e56c0f commit 2df9996
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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 {
Expand Down

0 comments on commit 2df9996

Please sign in to comment.