Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwexler committed Jan 3, 2025
1 parent 71afb7d commit dba81c6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions admin/tabs/cluster/distobjects/DistributedObjectsModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class DistributedObjectsModel extends HoistModel {

try {
await XH.fetchJson({
url: 'distributedObjectAdmin/clearAllHibernateCaches'
url: 'clusterObjectsAdmin/clearAllHibernateCaches'
}).linkTo(this.loadModel);

await this.refreshAsync();
Expand All @@ -249,9 +249,14 @@ export class DistributedObjectsModel extends HoistModel {
override async doLoadAsync(loadSpec: LoadSpec) {
try {
const report = await XH.fetchJson({
url: 'distributedObjectAdmin/getDistributedObjectsReport'
url: 'clusterObjectsAdmin/getClusterObjectsReport'
});

report.info = report.info.map(it => ({
...it,
comparableFields: it.comparableAdminStats
}));

this.gridModel.loadData(this.processReport(report));
runInAction(() => {
this.startTimestamp = report.startTimestamp
Expand Down

0 comments on commit dba81c6

Please sign in to comment.