mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 17:54:07 +01:00
moving caching w/ TTL to its own package
This commit is contained in:
@@ -40,3 +40,10 @@ Please use `http://drone.mycompany.com/authorize` as the Authorization callback
|
||||
* Team Membership:Read
|
||||
* Repositories:Read
|
||||
* Webhooks:Read and Write
|
||||
|
||||
## Known Issues
|
||||
|
||||
This section details known issues and planned features:
|
||||
|
||||
* Pull Request support
|
||||
* Mercurial support
|
||||
@@ -6,7 +6,7 @@ Drone comes with support for MySQL as an alternate database engine. To enable My
|
||||
|
||||
```bash
|
||||
DATABASE_DRIVER="mysql"
|
||||
DATABASE_CONFIG="root:pa55word@tcp(localhost:3306)/drone"
|
||||
DATABASE_CONFIG="root:pa55word@tcp(localhost:3306)/drone?parseTime=true"
|
||||
```
|
||||
|
||||
## MySQL configuration
|
||||
@@ -29,12 +29,12 @@ The components of this string are:
|
||||
This is an example connection string:
|
||||
|
||||
```
|
||||
root:pa55word@tcp(localhost:3306)/drone
|
||||
root:pa55word@tcp(localhost:3306)/drone?parseTime=true
|
||||
```
|
||||
|
||||
## MySQL options
|
||||
|
||||
See the official [driver documentation](https://github.com/go-sql-driver/mysql#parameters) for a full list of driver options.
|
||||
See the official [driver documentation](https://github.com/go-sql-driver/mysql#parameters) for a full list of driver options. Note that the `parseTime=true` is required.
|
||||
|
||||
|
||||
## MySQL Database
|
||||
|
||||
Reference in New Issue
Block a user