about summary refs log tree commit diff
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2019-01-23 20:29:43 +0000
committeremile <hanemile@protonmail.com>2019-01-23 20:29:43 +0000
commit8f7261443d9b74e8694a9f103c4df81dca8894b1 (patch)
treeabc92845ea2aa913183ca3a80edddcaab83cbcbd
parent8e0683295d9eafd9c28f23c1ddf6cc805be1aa14 (diff)
Update 'main.go'
-rw-r--r--main.go6
1 files 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")
 }