parent
							
								
									121613f136
								
							
						
					
					
						commit
						47d9d7376d
					
				| 
						 | 
				
			
			@ -70,7 +70,7 @@ func main() {
 | 
			
		|||
 | 
			
		||||
		blog.SetAuditLogger(auditlogger)
 | 
			
		||||
 | 
			
		||||
		go cmd.DebugServer("localhost:8080")
 | 
			
		||||
		go cmd.DebugServer(c.Monolith.DebugAddr)
 | 
			
		||||
 | 
			
		||||
		// Run StatsD profiling
 | 
			
		||||
		go cmd.ProfileCmd("Monolith", stats)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,6 +79,11 @@ type Config struct {
 | 
			
		|||
 | 
			
		||||
	CA ca.Config
 | 
			
		||||
 | 
			
		||||
	Monolith struct {
 | 
			
		||||
		// DebugAddr is the address to run the /debug handlers on.
 | 
			
		||||
		DebugAddr string
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	RA struct {
 | 
			
		||||
		// DebugAddr is the address to run the /debug handlers on.
 | 
			
		||||
		DebugAddr string
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -105,6 +105,10 @@
 | 
			
		|||
    }
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  "monolith": {
 | 
			
		||||
    "debugAddr": "localhost:8008"
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  "ra": {
 | 
			
		||||
    "debugAddr": "localhost:8002"
 | 
			
		||||
  },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue