Summary: Delays in pair research were observed in #37, and we found that that a feature for showing "popular tasks" as you enter pair research was causing these large delays.
Specifically, this feature subscribes to task history and computes in the client some keywords about what people are working on. This request for data can cause major latency.
To fix this, I commented out the subscriptions to task history, and commented out the feature for computing popular tasks.
Testing: The results are that entering the pool is much faster, and less data is being sent over DDP subscriptions.
Also, we made sure the task history has updated on the DB, despite the subscription to task history being commented out.
Summary: Delays in pair research were observed in #37, and we found that that a feature for showing "popular tasks" as you enter pair research was causing these large delays.
Specifically, this feature subscribes to task history and computes in the client some keywords about what people are working on. This request for data can cause major latency.
To fix this, I commented out the subscriptions to task history, and commented out the feature for computing popular tasks.
Testing: The results are that entering the pool is much faster, and less data is being sent over DDP subscriptions.
Also, we made sure the task history has updated on the DB, despite the subscription to task history being commented out.