Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
fa5127b3
Unverified
Commit
fa5127b3
authored
Feb 28, 2022
by
Weidan Kong
Committed by
GitHub
Feb 28, 2022
Browse files
Bug: reduce liveEnvironmentsCount after environment is stopped (#4593)
parent
268215ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ts/nni_manager/training_service/reusable/trialDispatcher.ts
ts/nni_manager/training_service/reusable/trialDispatcher.ts
+1
-0
No files found.
ts/nni_manager/training_service/reusable/trialDispatcher.ts
View file @
fa5127b3
...
...
@@ -507,6 +507,7 @@ class TrialDispatcher implements TrainingService {
throw
new
Error
(
`
${
environment
.
id
}
does not has environment service!`
);
}
await
environment
.
environmentService
.
stopEnvironment
(
environment
);
liveEnvironmentsCount
--
;
continue
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment