solved activity stream speed issue

solved activity stream speed issue
Please use phpcs to validate your code locally. This line is also not following standards. `Code comments should be in new line and first letter must be capital.`