MaxInactiveInterval is changed at a milli second.

The value set as MaxInactiveInterval is session-config > session-timeout from web.xml or default settings(2 hours).

session-timeout settings : minutes
library settings : seconds (60 * 60 * 2)

The conversion is not carried out although a milli second is used in calculation of a deletion term.
(It recognize second)

Thanks.