Blow-up time of a Keller-Segel-type system with Neumann and Robin boundary conditions