Make gnatsd build, fixes

This commit is contained in:
Derek Collison
2013-07-30 11:31:08 -07:00
parent 43810e3718
commit f015b7ca45
2 changed files with 4 additions and 4 deletions

View File

@@ -82,9 +82,9 @@ func main() {
s.StartHTTPMonitoring()
}
// Start up clustering as well if needed.
// Start up routing as well if needed.
if mOpts.ClusterPort != 0 {
s.StartCluster()
s.StartRouting()
}
// Profiler

View File

@@ -35,7 +35,7 @@ func TestConfigFile(t *testing.T) {
Port: 4242,
Username: "derek",
Password: "bella",
AuthTimeout: 1.0 / float64(time.Second),
AuthTimeout: 1.0,
Debug: false,
Trace: true,
Logtime: false,
@@ -57,7 +57,7 @@ func TestMergeOverrides(t *testing.T) {
Port: 2222,
Username: "derek",
Password: "spooky",
AuthTimeout: 1.0 / float64(time.Second),
AuthTimeout: 1.0,
Debug: true,
Trace: true,
Logtime: false,