From 7939abdcab514bdb809637e37c8d420a3e41d4e8 Mon Sep 17 00:00:00 2001 From: John Lees-Miller Date: Mon, 18 Sep 2023 13:09:07 +0100 Subject: [PATCH] Merge pull request #14878 from overleaf/tm-compile-timeout-20s-split-test-fix Fix for incorrect split test assignment function calls GitOrigin-RevId: e942ee78a2a5fb3a6a50b6f73eb212afdccbe63d --- services/web/app/src/Features/Editor/EditorHttpController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/src/Features/Editor/EditorHttpController.js b/services/web/app/src/Features/Editor/EditorHttpController.js index 7e0947bfac..e0555acff9 100644 --- a/services/web/app/src/Features/Editor/EditorHttpController.js +++ b/services/web/app/src/Features/Editor/EditorHttpController.js @@ -74,13 +74,13 @@ async function joinProject(req, res, next) { // Compile timeout 20s test if (project.features?.compileTimeout <= 60) { const compileAssignment = - await SplitTestHandler.promises.getAssignmentForMongoUser( + await SplitTestHandler.promises.getAssignmentForUser( project.owner._id, 'compile-backend-class-n2d' ) if (compileAssignment?.variant === 'n2d') { const timeoutAssignment = - await SplitTestHandler.promises.getAssignmentForMongoUser( + await SplitTestHandler.promises.getAssignmentForUser( project.owner._id, 'compile-timeout-20s' )