Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Add CollectorRegistrarIntervalMilliseconds option to cfcomponent.Config
Browse files Browse the repository at this point in the history
Configuration option is used by CollectorRegistrar to control how often registration messages are sent to collector.

Signed-off-by: Mike Gehard <mgehard@pivotal.io>
  • Loading branch information
John Tuley authored and Mike Gehard committed Oct 2, 2014
1 parent ee7e78b commit 00d4959
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions cfcomponent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ import (
)

type Config struct {
Syslog string
VarzPort uint32
VarzUser string
VarzPass string
NatsHosts []string
NatsPort int
NatsUser string
NatsPass string
MbusClient yagnats.NATSConn
Syslog string
VarzPort uint32
VarzUser string
VarzPass string
NatsHosts []string
NatsPort int
NatsUser string
NatsPass string
MbusClient yagnats.NATSConn
CollectorRegistrarIntervalMilliseconds int
}

var DefaultYagnatsClientProvider = func(logger *gosteno.Logger, c *Config) (natsClient yagnats.NATSConn, err error) {
Expand Down

0 comments on commit 00d4959

Please sign in to comment.