on main help sign in
fix: crush
commit25c600701564ad54986415ddf7c6a4338fd7bb4d authorCarlos Alexandro Becker <caarlos0@users.noreply.github.com> dateWed 4 Jun 2025, 22:28 (1 year ago) parent75178a4
2 files changed+2−2
Taskfile.yaml+1−1 main.go+1−1
Taskfile.yaml+1−1
@@ -21,7 +21,7 @@ tasks:
2121 dev:
2222 desc: Run with profiling enabled
2323 env:
24− OPENCODE_PROFILE: true
24+ CRUSH_PROFILE: true
2525 cmds:
2626 - go run .
2727
main.go+1−1
@@ -15,7 +15,7 @@ func main() {
1515 logging.ErrorPersist("Application terminated due to unhandled panic")
1616 })
1717
18− if os.Getenv("OPENCODE_PROFILE") != "" {
18+ if os.Getenv("CRUSH_PROFILE") != "" {
1919 go func() {
2020 logging.Info("Serving pprof at localhost:6060")
2121 if httpErr := http.ListenAndServe("localhost:6060", nil); httpErr != nil {