Nits Collected over last month (#595)

- add coverage.out
- add context queue
- fix misspell
- sanitize config: WOODPECKER_GITEA_URL
- storage backend migration should have no xorm session within migration function
This commit is contained in:
6543
2021-12-11 13:15:04 +01:00
committed by GitHub
parent 7ab33f62f7
commit 4cbdacb21c
7 changed files with 35 additions and 31 deletions

View File

@@ -42,7 +42,7 @@ type fifo struct {
}
// New returns a new fifo queue.
func New() Queue {
func New(ctx context.Context) Queue {
return &fifo{
workers: map[*worker]struct{}{},
running: map[string]*entry{},