mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
merge main
This commit is contained in:
parent
10afb585f5
commit
aef83200a4
@ -43,7 +43,11 @@ public class AutoJobAspect {
|
|||||||
// This aspect will run before any audit aspects due to @Order(0)
|
// This aspect will run before any audit aspects due to @Order(0)
|
||||||
// Extract parameters from the request and annotation
|
// Extract parameters from the request and annotation
|
||||||
boolean async = Boolean.parseBoolean(request.getParameter("async"));
|
boolean async = Boolean.parseBoolean(request.getParameter("async"));
|
||||||
log.debug("AutoJobAspect: Processing {} {} with async={}", request.getMethod(), request.getRequestURI(), async);
|
log.debug(
|
||||||
|
"AutoJobAspect: Processing {} {} with async={}",
|
||||||
|
request.getMethod(),
|
||||||
|
request.getRequestURI(),
|
||||||
|
async);
|
||||||
long timeout = autoJobPostMapping.timeout();
|
long timeout = autoJobPostMapping.timeout();
|
||||||
int retryCount = autoJobPostMapping.retryCount();
|
int retryCount = autoJobPostMapping.retryCount();
|
||||||
boolean trackProgress = autoJobPostMapping.trackProgress();
|
boolean trackProgress = autoJobPostMapping.trackProgress();
|
||||||
@ -219,10 +223,9 @@ public class AutoJobAspect {
|
|||||||
resourceWeight);
|
resourceWeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Processes arguments in-place to handle file resolution and async file persistence.
|
* Processes arguments in-place to handle file resolution and async file persistence. This
|
||||||
* This approach avoids type mismatch issues by modifying the original objects directly.
|
* approach avoids type mismatch issues by modifying the original objects directly.
|
||||||
*
|
*
|
||||||
* @param originalArgs The original arguments
|
* @param originalArgs The original arguments
|
||||||
* @param async Whether this is an async operation
|
* @param async Whether this is an async operation
|
||||||
|
@ -30,8 +30,7 @@ public class JobResult {
|
|||||||
private String error;
|
private String error;
|
||||||
|
|
||||||
/** List of result files for jobs that produce files */
|
/** List of result files for jobs that produce files */
|
||||||
@JsonIgnore
|
@JsonIgnore private List<ResultFile> resultFiles;
|
||||||
private List<ResultFile> resultFiles;
|
|
||||||
|
|
||||||
/** Time when the job was created */
|
/** Time when the job was created */
|
||||||
private LocalDateTime createdAt;
|
private LocalDateTime createdAt;
|
||||||
|
Loading…
Reference in New Issue
Block a user