From e6dfe0e3146cfb441d90263400788777cc074a72 Mon Sep 17 00:00:00 2001 From: Kristina Date: Thu, 17 Jan 2019 12:32:47 -0800 Subject: [PATCH] Fixed Svalinn Docker Configuration --- db/db.go | 2 +- deploy/docker-compose/docFiles/svalinn.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/db/db.go b/db/db.go index 632e77f..3c97b2c 100644 --- a/db/db.go +++ b/db/db.go @@ -29,7 +29,7 @@ import ( // Interface describes the main functionality needed to connect to a db type Interface interface { Initialize() error - GetHistory(deviceI string) (History, error) + GetHistory(deviceID string) (History, error) GetTombstone(deviceID string) (map[string]Event, error) UpdateHistory(deviceID string, events []Event) error InsertEvent(deviceID string, event Event, tombstoneKey string) error diff --git a/deploy/docker-compose/docFiles/svalinn.yaml b/deploy/docker-compose/docFiles/svalinn.yaml index e63ec9c..1eb63da 100644 --- a/deploy/docker-compose/docFiles/svalinn.yaml +++ b/deploy/docker-compose/docFiles/svalinn.yaml @@ -29,12 +29,14 @@ log: config: endpoint: "/device-status" queueSize: 3000 + stateLimitPerDevice: 3 db: server: "db:11210" username: "Administrator" password: "somepassword" bucket: "devices" numRetries: 4 + timeout: 10m authHeader: ["YXV0aEhlYWRlcg=="]