They'll firm up in about four hours, but shallower shot glasses or colder liquid may speed up the process.