setMaxPersistedSessions

open fun setMaxPersistedSessions(maxPersistedSessions: Int)

Sets the maximum number of persisted sessions which will be stored. Once the threshold is reached, the oldest session will be deleted. By default, 128 sessions are persisted.