Skip to content

Commit

Permalink
toggle filesharing
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sikina committed Mar 4, 2025
1 parent 73f4c63 commit b91771f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public ResponseEntity writeQueryResult(
.status(400)
.body("The query pic-sure ID is not a UUID");
}
if (query.getExpectedResultType() != ResultType.DATAFRAME_TIMESERIES) {
if (!List.of(ResultType.DATAFRAME_TIMESERIES, ResultType.PATIENTS).contains(query.getExpectedResultType())) {
return ResponseEntity
.status(400)
.body("The write endpoint only writes time series dataframes. Fix result type.");
Expand Down
3 changes: 2 additions & 1 deletion service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
SMALL_JOB_LIMIT = 100
SMALL_TASK_THREADS = 1
LARGE_TASK_THREADS = 1
LARGE_TASK_THREADS = 1
enable_file_sharing=true

0 comments on commit b91771f

Please sign in to comment.