Hi, there looks to be an error in the cleanup method for the InMemorySessionHandler, when we check for an expired TimeOutWrapper. The delay parameter is being passed in seconds, instead of milliseconds. This causes the user to be logged out every time the cleanup job runs, unless they have accessed the TimeOutWrapper 1.8 seconds before (If we go by the default settings).
Class: InMemorySessionHandler.java
Method: cleanup(Map<E, TimeOutWrapper> map, long cleanupDelay, String msg)
-> tow.isExpired(cleanupDelay)