diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-11-08 19:56:00 +0100 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-11-08 19:56:00 +0100 |
commit | a557cfc136aa8a2702a89cb0dedd2d130a0bf21a (patch) | |
tree | c7295e9e2e3bcafcc39ea00f96cfb5ab2d6724cf /go.mod | |
parent | Add case "heptapod" item into func RemoteIdLink() (diff) | |
download | soko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.tar.gz soko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.tar.bz2 soko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.zip |
Add a periodical selfcheck
This can be used to check whether any of the information
in the database are outdated. The findings are exported
as prometheus metric.
In former times this check has been done externally. Now
it is directly integrated into soko as lately there have
been some reports about outdated information again.
Please note that this is currently still a WIP and rather
a first approach to get a feeling for the current situation
then a perfect solution.
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,9 +4,11 @@ go 1.13 require ( github.com/99designs/gqlgen v0.11.3 + github.com/go-git/go-git/v5 v5.2.0 github.com/go-pg/pg v8.0.6+incompatible github.com/go-pg/pg/v9 v9.1.3 github.com/gorilla/feeds v1.1.1 + github.com/jasonlvhit/gocron v0.0.1 github.com/mcuadros/go-version v0.0.0-20190830083331-035f6764e8d2 github.com/prometheus/client_golang v1.8.0 github.com/vektah/gqlparser/v2 v2.0.1 |