Will runtime.GOMAXPROCS be removed once the scheduler improves & should I use it?

In runtime package there’s a comment line on “func GOMAXPROCS(n int) int {}” implying that “This call will go away when the scheduler improves” , if so, should I use it in my current web app?

If it wasn’t the comment, then the fact that it is defined in debug.go what would make me not rely on that function at all for production. If at all, then during debugging the application.

1 Like