Comment 22 for bug 991481

Revision history for this message
Seth Arnold (seth-arnold) wrote :

If you're going to bodge this with a wrapper script, a better choice would address the constant network monitoring performed in whoopsie by using the assume-online command line option.

I don't know the whoopsie codebase but based on a quick reading it looks like the only real downside to this change would be that error reports generated when offline wouldn't be sent up as soon as possible, but would wait until the next time the whoopsie daemon is restarted *and* there is network connectivity.

It feels like if someone cared enough to devote two hours to this, a better middle-ground could be found that only polled the network once an error report had been generated. It might require even more abuse of global variables, but it shouldn't be too hideous.

Thanks