mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-29 13:20:48 +08:00
Change gcTime: infinity -> 30min
This commit is contained in:
1 parent
99168e9b12
commit
3880129988
2 files changed
+2
-2
No files matched your search
@@ -17,7 +17,7 @@ export const useParamImportance = ({
|
||||
queryKey: ["paramImportance", studyId, numCompletedTrials],
|
||||
queryFn: () => getParamImportances(studyId),
|
||||
staleTime: Infinity,
|
||||
gcTime: Infinity,
|
||||
gcTime: 30 * 60 * 1000, // 30 minutes
|
||||
})
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@@ -25,7 +25,7 @@ export const usePlot = ({
|
||||
return getPlotAPI(studyId, plotType)
|
||||
},
|
||||
staleTime: Infinity,
|
||||
gcTime: Infinity,
|
||||
gcTime: 30 * 60 * 1000, // 30 minutes
|
||||
})
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user