{"push_id":988704209,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"9fffd3daaa9a005d8395f7faa438bdcd1a093cb5","before":"41b7e7882c96e464b60896dde0d8b292767d4546","commits":[{"sha":"9fffd3daaa9a005d8395f7faa438bdcd1a093cb5","author":{"email":"1cd02e31b43620d7c664e038ca42a060d61727b9@crossleys.org","name":"Jim Crossley"},"message":"Use at-exit's new shutdown hook [IMMUTANT-605]\n\nConfirmed that the method calls on the GracefulShutdownHandler are\nidempotent, so no problem if the server is stopped prior to shutdown. If\na user wants to drain requests after stopping but prior to shutdown,\nthey must invoke the methods manually (on the object returned from\ngraceful-shutdown, which they ostensibly passed to web/run)\n\nI considered adding an option to web/run for a \"drain timeout\" and\nalways wrapping the handler in a GracefulShutdownHandler. But since this\nis only relevant for Undertow itself, i.e. out-of-container, I thought\nit best to keep the timeout as a parameter to a separate function.","distinct":true,"url":"https://api.github.com/repos/immutant/immutant/commits/9fffd3daaa9a005d8395f7faa438bdcd1a093cb5"}]}