From 13b1e31cb91f5af98951f4353d49429f356d7f12 Mon Sep 17 00:00:00 2001 From: horus Date: Mon, 19 Feb 2018 22:53:26 +0100 Subject: Saving scraped offers runs in Tx. (crawler) --- crawler/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'crawler/main.go') diff --git a/crawler/main.go b/crawler/main.go index b75c21a..c44d8e9 100644 --- a/crawler/main.go +++ b/crawler/main.go @@ -17,6 +17,7 @@ type App struct { Shops []Shop Config *Config DB *sqlx.DB + Tx *sqlx.Tx Now int64 Debug bool } -- cgit v1.2.3