Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, logger slog.Logger, db database.Store, vals *codersdk.DeploymentValues, reg prometheus.Registerer, opts ...Option) io.Closer
New creates a new periodically purging database instance. Callers must Close the returned instance.
Types ¶
type Option ¶ added in v2.33.0
type Option func(*instance)
func WithChatSearchBackfillLimits ¶ added in v2.36.0
WithChatSearchBackfillLimits overrides backfill batch size and cap. For tests.
Click to show internal directories.
Click to hide internal directories.