tech: replace context.TODO with background ctx

This commit is contained in:
bergquist
2017-02-24 09:20:21 +01:00
parent e73b306e0c
commit 03354bc49a
5 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ func processWebhookQueue() {
for {
select {
case webhook := <-webhookQueue:
err := sendWebRequestSync(context.TODO(), webhook)
err := sendWebRequestSync(context.Background(), webhook)
if err != nil {
webhookLog.Error("Failed to send webrequest ", "error", err)