Browse Source

remove comment

Shun Miyazawa 3 years ago
parent
commit
523852231e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/app/src/server/service/activity.ts

+ 0 - 1
packages/app/src/server/service/activity.ts

@@ -65,7 +65,6 @@ class ActivityService {
     }
     }
 
 
     try {
     try {
-      // Set retention period only if activityExpirationSeconds is not null
       await collection.createIndex({ createdAt: 1 }, { expireAfterSeconds: activityExpirationSeconds });
       await collection.createIndex({ createdAt: 1 }, { expireAfterSeconds: activityExpirationSeconds });
     }
     }
     catch (err) {
     catch (err) {