carbon-relay-ng
carbon-relay-ng copied to clipboard
Panic when adding route via web interface
Version: master
How to reproduce:
- Start carbon-relay-ng with config
examples/carbon-relay-ng.ini
- Go to web interface
- Fill all form fields with following values:
Route Key:
test
Route Type:sendAllMatch
Match prefix:a
Match substring:b
Match regex:c
Address:127.0.0.1:1234
- Click the
Add
button - Panic:
goroutine 1201 [running]:
time.NewTicker(0x0, 0x40c396)
/usr/local/go/src/time/tick.go:23 +0x147
github.com/grafana/carbon-relay-ng/nsqd.(*DiskQueue).ioLoop(0xc000b4e900)
/home/replay/go/src/github.com/grafana/carbon-relay-ng/nsqd/diskqueue.go:540 +0x47
created by github.com/grafana/carbon-relay-ng/nsqd.NewDiskQueue
/home/replay/go/src/github.com/grafana/carbon-relay-ng/nsqd/diskqueue.go:93 +0x2fb
+1
@je1lylee The web interface is beta, if you would like to use carbon-relay-ng in a production environment it is recommended to use config files.
Thank you! I edited config files manually, everything looks good now.