-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limiting transmission batches to 25 #512
Conversation
|
||
# Run every hour | ||
# @hourly java -Dserver.port=9191 -jar /opt/la-doc-uploader/app.jar transferSubmissions | ||
@hourly java -Dserver.port=9191 -jar /opt/form-flow-starter-app/app.jar transferSubmissions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sree-cfa - curious: why is this referencing the form-flow starter app instead of the la-doc-uploader?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just the path we've been using in the Dockerfile - the "MKDIR" part
|
||
queuedSubmissions = queuedSubmissions.stream() | ||
.filter(submission -> (submission.getSubmittedAt().isBefore(submittedAtCutoff))).toList(); | ||
log.info("Excluding %s submitted within last 2 hours".formatted(queuedSubmissions.size())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this log wouldn't queued submissions size be the number of applications that are in the window where they should be sent (as they are older than 2 hours ago?).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah youre right
No description provided.