This is an automated email from the ASF dual-hosted git repository.
byronhsu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new 565dcc5 SUBMARINE-910. Default open auto reload in the experiment page
565dcc5 is described below
commit 565dcc5b526445dbe9318cedef62636fae512fdc
Author: noidname01 <[email protected]>
AuthorDate: Wed Jul 7 22:05:26 2021 +0800
SUBMARINE-910. Default open auto reload in the experiment page
### What is this PR for?
Default open auto reload in the experiment page
### What type of PR is it?
[ Improvement ]
### Todos
### What is the Jira issue?
https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-910
### How should this be tested?
```bash
# At workbench-web
npm start
```
### Screenshots (if appropriate)

### Questions:
* Do the license files need updating? No
* Are there breaking changes for older versions? No
* Does this need new documentation? No
Author: noidname01 <[email protected]>
Signed-off-by: byronhsu <[email protected]>
Closes #654 from noidname01/SUBMARINE-910 and squashes the following
commits:
15130bcb [noidname01] default open auto reload
---
.../experiment/experiment-home/experiment-home.component.ts | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/submarine-workbench/workbench-web/src/app/pages/workbench/experiment/experiment-home/experiment-home.component.ts
b/submarine-workbench/workbench-web/src/app/pages/workbench/experiment/experiment-home/experiment-home.component.ts
index 60ccc59..e6acc49 100644
---
a/submarine-workbench/workbench-web/src/app/pages/workbench/experiment/experiment-home/experiment-home.component.ts
+++
b/submarine-workbench/workbench-web/src/app/pages/workbench/experiment/experiment-home/experiment-home.component.ts
@@ -42,10 +42,10 @@ export class ExperimentHomeComponent implements OnInit {
isListLoading: boolean = true;
checkedList: boolean[];
selectAllChecked: boolean = false;
- switchValue: boolean = false;
+ switchValue: boolean = true;
// auto reload
- reloadPeriod: number = 10000; // default 10s
+ reloadPeriod: number = 3000; // default 3s
reloadInterval = interval(this.reloadPeriod);
reloadSub = null;
@@ -73,6 +73,7 @@ export class ExperimentHomeComponent implements OnInit {
this.experimentService.emitInfo(null);
this.getTensorboardInfo(1000, 50000);
this.getMlflowInfo(1000, 100000);
+ this.onSwitchAutoReload();
}
fetchExperimentList() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]