mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Change debug files from ergonomadic -> oragono
This commit is contained in:
parent
ef25b5b5c7
commit
16c4b4166a
2 changed files with 4 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -106,3 +106,5 @@ _testmain.go
|
||||||
/oragono
|
/oragono
|
||||||
/build/*
|
/build/*
|
||||||
_test
|
_test
|
||||||
|
oragono.prof
|
||||||
|
oragono.mprof
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ func debugHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
||||||
client.Notice(fmt.Sprintf("num goroutines: %d", count))
|
client.Notice(fmt.Sprintf("num goroutines: %d", count))
|
||||||
|
|
||||||
case "PROFILEHEAP":
|
case "PROFILEHEAP":
|
||||||
profFile := "ergonomadic.mprof"
|
profFile := "oragono.mprof"
|
||||||
file, err := os.Create(profFile)
|
file, err := os.Create(profFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
client.Notice(fmt.Sprintf("error: %s", err))
|
client.Notice(fmt.Sprintf("error: %s", err))
|
||||||
|
|
@ -54,7 +54,7 @@ func debugHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
||||||
client.Notice(fmt.Sprintf("written to %s", profFile))
|
client.Notice(fmt.Sprintf("written to %s", profFile))
|
||||||
|
|
||||||
case "STARTCPUPROFILE":
|
case "STARTCPUPROFILE":
|
||||||
profFile := "ergonomadic.prof"
|
profFile := "oragono.prof"
|
||||||
file, err := os.Create(profFile)
|
file, err := os.Create(profFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
client.Notice(fmt.Sprintf("error: %s", err))
|
client.Notice(fmt.Sprintf("error: %s", err))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue