moving caching w/ TTL to its own package

This commit is contained in:
Brad Rydzewski
2015-10-20 16:45:24 -07:00
parent efcab1210b
commit eb04d418d9
14 changed files with 275 additions and 112 deletions

View File

@@ -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

View File

@@ -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