woodpecker/server/queue
6543 e3499f610d
Pass down context.Context (#371)
* pass context down to remote clients

* make tests work

* add ctx to Refresh() and use it

* bitbucketserver

* code format

* plugin interface: add todo context

* solve todo

* RM TODO by using context.WithTimeout

* refactor & fix

* Apply suggestions from code review

Co-authored-by: Anbraten <anton@ju60.de>

* go fmt

* Update server/remote/coding/coding.go

Co-authored-by: Anbraten <anton@ju60.de>

Co-authored-by: Anbraten <anton@ju60.de>
2021-09-28 12:56:59 +02:00
..
fifo.go Cleanup Code (#348) 2021-09-24 16:29:26 +02:00
fifo_test.go Move cncd/{logging,pubsub,queue}/ to server/{logging,pubsub,queue}/ (#346) 2021-09-23 22:29:09 +02:00
LICENSE Move cncd/{logging,pubsub,queue}/ to server/{logging,pubsub,queue}/ (#346) 2021-09-23 22:29:09 +02:00
queue.go Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
README.md Move cncd/{logging,pubsub,queue}/ to server/{logging,pubsub,queue}/ (#346) 2021-09-23 22:29:09 +02:00
worker.go Move cncd/{logging,pubsub,queue}/ to server/{logging,pubsub,queue}/ (#346) 2021-09-23 22:29:09 +02:00
worker_test.go Move cncd/{logging,pubsub,queue}/ to server/{logging,pubsub,queue}/ (#346) 2021-09-23 22:29:09 +02:00

queue package

Go package provides a common interface for working with task queues.

History

This was originally published in: https://github.com/cncd/queue Then it was included in: https://github.com/drone-ci/drone/cncd/queue

Documentation:

https://godoc.org/github.com/woodpecker-ci/woodpecker/server/queue