sql
- Package
github.com/cs3org/reva/v3/pkg/projects/manager/sql- Source
- pkg/projects/manager/sql · Go reference
Enable it
Select the driver in the service that uses it, and put its settings in the driver's own table:
[grpc.services.spacesregistry]
driver = "sql"
[grpc.services.spacesregistry.drivers.sql]
# settings belowThis package has no documentation yet. Add a package doc comment or a
README.md in pkg/projects/manager/sql, then run make gen-doc.Configuration
| Key | Type | Default | Description |
|---|---|---|---|
Includes the settings of config.Database. | |||
cache_ttl | int | - | CacheTTL (seconds) determines how long the list of projects will be stored in a cache before a new database query is executed. The default, 0, corresponds to 60 seconds. source |