We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d95ad13 commit d2fbfc6Copy full SHA for d2fbfc6
1 file changed
server/src/nextComment.ts
@@ -358,13 +358,11 @@ export async function getNextComment(
358
});
359
360
let next: GetCommentsParams | null = null;
361
- // TEMP: disable topical comment routing while we improve performance
362
- // if (shouldUseTopical) {
363
- // next = await getNextTopicalComment(zid!, pid!, withoutTids);
364
- // } else {
365
- // next = await getNextPrioritizedComment(zid!, pid!, withoutTids);
366
- // }
367
- next = await getNextPrioritizedComment(zid!, pid!, withoutTids);
+ if (shouldUseTopical) {
+ next = await getNextTopicalComment(zid!, pid!, withoutTids);
+ } else {
+ next = await getNextPrioritizedComment(zid!, pid!, withoutTids);
+ }
368
369
// If topical path yielded nothing, try prioritized as a fallback
370
if (!next && shouldUseTopical) {
0 commit comments