mongodb pause ttl

Engineering Apr 04, 2018

The following command can be used to pause mongodb ttl for 86400 seconds (1 day)
db.adminCommand({setParameter:1, ttlMonitorSleepSecs: 86400})

The following to disable TTL and enable it later on:
db.adminCommand({setParameter:1, ttlMonitorEnabled:false});

Srujan

You should go to about section on this site.

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.