From 98683de3ae924874045173cf3df06b83359cc020 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 24 Mar 2016 11:38:59 +0000 Subject: [PATCH] temporarily disable ttl behaviour allow existing packs without temporary flag to expire --- services/track-changes/app/coffee/PackManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/track-changes/app/coffee/PackManager.coffee b/services/track-changes/app/coffee/PackManager.coffee index 1c54afdd3a..4867979d39 100644 --- a/services/track-changes/app/coffee/PackManager.coffee +++ b/services/track-changes/app/coffee/PackManager.coffee @@ -204,7 +204,7 @@ module.exports = PackManager = return callback(err) if err? if not pack? MongoAWS.unArchivePack project_id, doc_id, pack_id, callback - else if pack.expiresAt? and not pack.temporary + else if pack.expiresAt? and not pack.temporary and false # TODO: remove false, temporarily disabled # we only need to touch the TTL on the listing of changes in the project # because diffs on individual documents are always done after that PackManager.increaseTTL pack, callback