Skip to content

Commit

Permalink
commented out subjectivity limit for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rosannamilner committed Oct 30, 2024
1 parent d3a2e5e commit 2778e7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/redux/sagas/assistantSaga.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ function* handlePersuasionCall(action) {
}
}

const SERVER_TIMEOUT_LIMIT = 6000;
//const SERVER_TIMEOUT_LIMIT = 6000;

function* handleSubjectivityCall(action) {
if (action.type === "CLEAN_STATE") return;
Expand All @@ -449,7 +449,8 @@ function* handleSubjectivityCall(action) {

const result = yield call(
assistantApi.callSubjectivityService,
text.substring(0, SERVER_TIMEOUT_LIMIT),
text,
//text.substring(0, SERVER_TIMEOUT_LIMIT),
);

yield put(setSubjectivityDetails(result, false, true, false));
Expand Down

0 comments on commit 2778e7b

Please sign in to comment.