Fixed topic gc bug
This commit is contained in:
1 parent
c31c55fafd
commit
2cbc41d29e
5 files changed
+8
-4
No files matched your search
@@ -69,7 +69,7 @@ class TopicManager
|
||||
$this->topics,
|
||||
function (Topic $topic) {
|
||||
$topic->garbageCollect();
|
||||
return ($topic->getHistorySize() > 0 && $topic->getSubscriberCount() > 0) || ($topic->getAge() < 60);
|
||||
return ($topic->getHistorySize() > 0 || $topic->getSubscriberCount() > 0) || ($topic->getAge() < 60);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user