瀏覽代碼

Change debug files from ergonomadic -> oragono

tags/v0.10.0
Daniel Oaks 6 年之前
父節點
當前提交
16c4b4166a
共有 2 個檔案被更改,包括 4 行新增2 行删除
  1. 2
    0
      .gitignore
  2. 2
    2
      irc/debug.go

+ 2
- 0
.gitignore 查看文件

106
 /oragono
106
 /oragono
107
 /build/*
107
 /build/*
108
 _test
108
 _test
109
+oragono.prof
110
+oragono.mprof

+ 2
- 2
irc/debug.go 查看文件

43
 		client.Notice(fmt.Sprintf("num goroutines: %d", count))
43
 		client.Notice(fmt.Sprintf("num goroutines: %d", count))
44
 
44
 
45
 	case "PROFILEHEAP":
45
 	case "PROFILEHEAP":
46
-		profFile := "ergonomadic.mprof"
46
+		profFile := "oragono.mprof"
47
 		file, err := os.Create(profFile)
47
 		file, err := os.Create(profFile)
48
 		if err != nil {
48
 		if err != nil {
49
 			client.Notice(fmt.Sprintf("error: %s", err))
49
 			client.Notice(fmt.Sprintf("error: %s", err))
54
 		client.Notice(fmt.Sprintf("written to %s", profFile))
54
 		client.Notice(fmt.Sprintf("written to %s", profFile))
55
 
55
 
56
 	case "STARTCPUPROFILE":
56
 	case "STARTCPUPROFILE":
57
-		profFile := "ergonomadic.prof"
57
+		profFile := "oragono.prof"
58
 		file, err := os.Create(profFile)
58
 		file, err := os.Create(profFile)
59
 		if err != nil {
59
 		if err != nil {
60
 			client.Notice(fmt.Sprintf("error: %s", err))
60
 			client.Notice(fmt.Sprintf("error: %s", err))

Loading…
取消
儲存