From 8f7261443d9b74e8694a9f103c4df81dca8894b1 Mon Sep 17 00:00:00 2001 From: emile Date: Wed, 23 Jan 2019 20:29:43 +0000 Subject: Update 'main.go' --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index ac6ae5c..f61d08d 100644 --- a/main.go +++ b/main.go @@ -54,7 +54,7 @@ func cache(treeindex int64) { log.Println("[ ! ] The tree is not in local cache, requesting it from the database") // make a http-post request to the databse requesting the tree - requesturl := fmt.Sprintf("http://db/dumptree/%d", treeindex) + requesturl := fmt.Sprintf("http://db.nbg1.emile.space/dumptree/%d", treeindex) log.Println("[ ] Requesting the tree from the database") resp, err := http.Get(requesturl) if err != nil { @@ -193,7 +193,7 @@ func calcallforces(star structs.Star2D, treeindex int64) { func main() { // start a go method pushing the metrics to the manager log.Println("[ ] Starting the metric-pusher") - go pushMetrics("http://manager/metrics") + go pushMetrics("http://manager.nbg1.emile.space/metrics") - processstars("http://manager/providestars/0") + processstars("http://manager.nbg1.emile.space/providestars/0") } -- cgit 1.4.1