|
Well, making those changes did stop the RPC error from happening but the main program didn't return until after all threads finish, ie. the whole 8 seconds for the longest thread. This makes the timeout feature useless if I have to wait for each thread to complete however long it takes. As long as I use detach, I still get the RPC errors and the wonky behavior for the program when run as a CGI. |