func init() {
http.HandleFunc("/", handler)
}
The handler func isn't returning, and the logs show that the handler is being executed multiple times.
Just now it ran for almost (I pauses the queue) 10 minutes, just looping..There is no error messages in the logs.
Any ideas what could cause this?
Ps.
The actual code being run is quote memory intensive, I had to switch to a F2 instance because of the memory limit. It might have to do with memory issues, maybe the Go runtime re-executes the request under some conditions?
The handler seems to reset partially though execution...
There should be a log for each of N (lets say 100) inputs. The logs shown are from 1 to 20, repeating, 1 to 20, 1 to 20,...
Dave.
Are there any known situations where a handler will be executed multiple times?
I've added a favicon and updated the yaml accordingly. I also changed the the handler to handle "abc" not "/".