Skip to content
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

Fix misleading log #218

Merged

Conversation

hiddenalpha
Copy link
Member

The place where the log was, is NOT where the process has completed, but TOO EARLY. Because other scheduled task runs may are STILL IN PROGRESS when this line is reached. Therefore would log a way too short (aka misleading) duration.

The only place where the method call is really done, is as where the returned future is resolved.

…ves the log

from is NOT where the process has completed, but TOO EARLY. Because other
scheduled task runs may are STILL IN PROGRESS. And the log line is reached TOO
EARLY there, and therefore would log a way too short (aka misleading) duration.

The only place where the method call is really done, is as where the returned
future is resolved.

Relates to:
- PR 216
@dominik-cnx
Copy link
Collaborator

thx

@dominik-cnx dominik-cnx merged commit c94186c into swisspost:develop Oct 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants