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

Display time and consumed memory even in case of insufficient MSI #1562

Merged
merged 1 commit into from Aug 29, 2021

Conversation

maks-rafalko
Copy link
Member

Time: 3s. Memory: 15Mb - this is printed on ApplicationExecutionWasFinished event, but if MSI check fails, exception is thrown and ApplicationExecutionWasFinished is not dispatched, so time and memory is not printed.

This change fixes the issue. Now, ApplicationExecutionWasFinished event is dispatched regardless of thrown exception

Before:

image

After:

image

`Time: 3s. Memory: 15Mb` - this is printed on `ApplicationExecutionWasFinished` event, but if MSI check fails, exception is thrown and `ApplicationExecutionWasFinished` is not dispatched, so time and memory is not printed.

This change fixes the issue. Now, `ApplicationExecutionWasFinished` event is dispatched regardless of thrown exception
@maks-rafalko maks-rafalko added this to the 0.25.0 milestone Aug 29, 2021
@maks-rafalko maks-rafalko enabled auto-merge (squash) August 29, 2021 10:26
@maks-rafalko maks-rafalko merged commit c87fab9 into master Aug 29, 2021
@maks-rafalko maks-rafalko deleted the bugfix/time-metrics branch August 29, 2021 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants