summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-10-17 14:05:02 +0200
committerChristian Pointner <equinox@spreadspace.org>2016-10-17 14:05:02 +0200
commit4e25f8e9bdad737a607dd2f8ac16f9ec2720b5e5 (patch)
tree83d62abb5f8a33824aa6f3bde8325ca5a6c046ac
parentsending out works now (needs reconnect) (diff)
removing debug output
-rw-r--r--src/daq/s5proxy/sample.json2
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5store.go2
-rwxr-xr-xsrc/hub/test-srv3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/daq/s5proxy/sample.json b/src/daq/s5proxy/sample.json
index 2cf9074..b13ec7d 100644
--- a/src/daq/s5proxy/sample.json
+++ b/src/daq/s5proxy/sample.json
@@ -14,7 +14,7 @@
{ "op": "time", "header": "Expires", "value": "-1s" }
],
"sfive": {
- "socket": "/var/run/sfive/pipegram",
+ "socket": "/run/sfive/pipegram",
"hostname": "public1",
"tags": [ "hello", "world" ],
"duration": "15s",
diff --git a/src/hub/src/spreadspace.org/sfive/s5store.go b/src/hub/src/spreadspace.org/sfive/s5store.go
index fb6181d..671d571 100644
--- a/src/hub/src/spreadspace.org/sfive/s5store.go
+++ b/src/hub/src/spreadspace.org/sfive/s5store.go
@@ -332,7 +332,7 @@ func (s sqliteStore) Append(update StatisticsData) (err error) {
}
du, cd, src, tags := updateFromStatisticsData(update)
- s5l.Printf("blah: %v", du)
+ //s5l.Printf("blah: %v", du)
err = s.appendItem(du, cd, src, tags)
if err != nil {
tx.Rollback()
diff --git a/src/hub/test-srv b/src/hub/test-srv
index 7ba3e7a..254549a 100755
--- a/src/hub/test-srv
+++ b/src/hub/test-srv
@@ -1,5 +1,4 @@
#!/bin/sh
rm -f /run/sfive/pipe /run/sfive/pipegram
-./bin/sfive-hub -db /var/lib/sfive/db.sqlite -start-pipe-server -pipe /var/run/sfive/pipe -start-pipegram-server -pipegram /var/run/sfive/pipegram -start-web-server -viz-dir "$(pwd)/../viz" -bind=":8001" -forward-url="http://localhost:8000"
-
+./bin/sfive-hub -db /var/lib/sfive/db.sqlite -start-pipe-server -pipe /var/run/sfive/pipe -start-pipegram-server -pipegram /var/run/sfive/pipegram -start-web-server -viz-dir "$(pwd)/../viz" -bind=":8001"