fix: cluster worker config issues
This commit is contained in:
@@ -72,11 +72,9 @@ const ViewLogsModal: React.FC<ViewModalProps> = (props) => {
|
||||
if (!props.id) return;
|
||||
if (open) {
|
||||
requestRef.current?.current?.cancel?.();
|
||||
setChunkRequest({
|
||||
requestRef.current = setChunkRequest({
|
||||
url: `${MODELS_API}/${props.modelId}/instances`,
|
||||
handler: updateHandler
|
||||
}).then((res) => {
|
||||
requestRef.current = res;
|
||||
});
|
||||
} else {
|
||||
logsViewerRef.current?.abort();
|
||||
|
||||
Reference in New Issue
Block a user