Configure session end batching
Starting with Sitecore 9.3, expired sessions are processed in batches instead of one at a time. You configure the session expiration batch processing with two settings like this:
Go to the
SessionExpirationBatchSizesetting, enter the number of expired sessions to process per batch. The default value is 100 sessions.
SessionExpirationProcessingIntervalsetting, enter the number of seconds between processing a batch. This setting is only used when the number of expired sessions are less than the defined batch size. The default value is 5 seconds.
If you configure both the batch size and the processing interval to
1, Sitecore behaves exactly as before the batch processing feature was introduced.
If you extend the commitSession or submitSessionContext pipelines with additional processors, sessions are no longer necessarily submitted to xConnect the moment they expire.