sni/mod_gearman — pull request #19 by jayKayEss (2011-11-09 16:28:03+00:00)
Title: Testing async submission

tl;dr I'm an engineer at Etsy, and we added the ability to test asynchronous job submission.

background: we use this check to trigger gearmand restarts, and basing a restart on a synchronous submission could result in constantly restarting gearmand when the workers are down. The async check is a better test for when the server needs to be restarted.

I also fixed a potential segfault on line 362 when result is null.