TTL (time-to-live) Options
The frequency for invoking the TTL background removal thread. The value for thisoption is specified in milliseconds.The lower this value, the more frequently the TTL background thread will kick inand scan all available TTL indexes for expired documents, and the earlier theexpired documents will actually be removed.
The TTL background thread will go back to sleep once it has removed the configurednumber of documents in one iteration. If more candidate documents are left forremoval, they will be removed in following runs of the background thread.
This option will only scan TTL indexes of collections that are already loaded intomemory. Setting the option to false will make the background thread ignore collectionsthat are currently not loaded. This saves the background thread from loading allcollections into memory.