https://github.com/Clever/batchtail/commit/e1c194c8e86f7c0ef100633806781abac0f3bdee