mirror of
https://github.com/postmannen/ctrl.git
synced 2025-01-20 22:52:13 +00:00
commented out some logging
This commit is contained in:
parent
2a182e78a2
commit
82e9477b18
2 changed files with 8 additions and 6 deletions
|
@ -12,8 +12,10 @@ import (
|
||||||
// --- Message
|
// --- Message
|
||||||
|
|
||||||
type Message struct {
|
type Message struct {
|
||||||
// The node to send the message to
|
// The node to send the message to.
|
||||||
ToNode Node `json:"toNode" yaml:"toNode"`
|
ToNode Node `json:"toNode" yaml:"toNode"`
|
||||||
|
// ToNodes to specify several hosts to send message to.
|
||||||
|
ToNodes []Node `json:"toNodes,omitempty" yaml:"toNodes,omitempty"`
|
||||||
// The Unique ID of the message
|
// The Unique ID of the message
|
||||||
ID int `json:"id" yaml:"id"`
|
ID int `json:"id" yaml:"id"`
|
||||||
// The actual data in the message
|
// The actual data in the message
|
||||||
|
|
|
@ -289,11 +289,11 @@ func (r *ringBuffer) processBufferMessages(samValueBucket string, outCh chan sam
|
||||||
|
|
||||||
r.permStore <- fmt.Sprintf("%v : %+v\n", time.Now().UTC(), v)
|
r.permStore <- fmt.Sprintf("%v : %+v\n", time.Now().UTC(), v)
|
||||||
|
|
||||||
// REMOVE: Dump the whole KV store
|
// TODO: REMOVE: Dump the whole KV store
|
||||||
err := r.printBucketContent(samValueBucket)
|
// err := r.printBucketContent(samValueBucket)
|
||||||
if err != nil {
|
// if err != nil {
|
||||||
log.Printf("* Error: dump of db failed: %v\n", err)
|
// log.Printf("* Error: dump of db failed: %v\n", err)
|
||||||
}
|
// }
|
||||||
}(v)
|
}(v)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue