Skip to content

Commit

Permalink
fix: fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikRevich committed Nov 28, 2024
1 parent 2bfed7f commit 06cbf1f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void process() throws TemporateStoragePeriodRetrievalFailureException {

logger.error(e1.getMessage());

throw new RuntimeException(e1);
return;
}

EarliestTemporateContentDto temporateContentDto;
Expand All @@ -109,7 +109,7 @@ public void process() throws TemporateStoragePeriodRetrievalFailureException {

logger.error(e.getMessage());

throw new RuntimeException(e);
return;
}

try {
Expand All @@ -121,7 +121,7 @@ public void process() throws TemporateStoragePeriodRetrievalFailureException {

logger.error(e.getMessage());

throw new RuntimeException(e);
return;
}

try {
Expand All @@ -136,14 +136,14 @@ public void process() throws TemporateStoragePeriodRetrievalFailureException {

logger.error(e2.getMessage());

throw new RuntimeException(e2);
return;
}

StateService.getTemporateStorageProcessorGuard().unlock();

logger.error(e1.getMessage());

throw new RuntimeException(e1);
return;
}

ValidationSecretsApplication validationSecretsApplication =
Expand All @@ -166,14 +166,14 @@ public void process() throws TemporateStoragePeriodRetrievalFailureException {

logger.error(e2.getMessage());

throw new RuntimeException(e2);
return;
}

StateService.getTemporateStorageProcessorGuard().unlock();

logger.error(e1.getMessage());

throw new RuntimeException(e1);
return;
}

for (ContentCompoundUnitDto contentCompoundUnit : temporateContentDto.getContentCompoundUnits()) {
Expand All @@ -198,7 +198,7 @@ public void process() throws TemporateStoragePeriodRetrievalFailureException {

logger.error(e2.getMessage());

throw new RuntimeException(e2);
return;
}

StateService.getTemporateStorageProcessorGuard().unlock();
Expand All @@ -221,12 +221,14 @@ public void process() throws TemporateStoragePeriodRetrievalFailureException {

logger.error(e2.getMessage());

throw new RuntimeException(e2);
return;
}

StateService.getTemporateStorageProcessorGuard().unlock();

logger.error(e1.getMessage());

return;
}

try {
Expand All @@ -238,7 +240,7 @@ public void process() throws TemporateStoragePeriodRetrievalFailureException {

logger.error(e.getMessage());

throw new RuntimeException(e);
return;
}

telemetryService.increaseCurrentCloudServiceUploads();
Expand Down
2 changes: 1 addition & 1 deletion config/grafana/dashboards/diagnostics.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
"useBackend": false
}
],
"title": "ObjectStorage API Server Temporate Storage confiugred await time(milliseconds)",
"title": "ObjectStorage API Server Temporate Storage configured await time(milliseconds)",
"type": "stat"
},
{
Expand Down

0 comments on commit 06cbf1f

Please sign in to comment.