Skip to content

[envelope lib] Avoid issue with converting very large data delay to integer#50

Open
FMassin wants to merge 2 commits intoSED-EEW:masterfrom
FMassin:fix-x-large-data-delay
Open

[envelope lib] Avoid issue with converting very large data delay to integer#50
FMassin wants to merge 2 commits intoSED-EEW:masterfrom
FMassin:fix-x-large-data-delay

Conversation

@FMassin
Copy link
Copy Markdown
Member

@FMassin FMassin commented Feb 20, 2024

This is adding a catch statement in the envelope buffer time limit update method in order to avoid a crash in case the delay between the current time and record start time cannot be converted implicitly to a double, which seems to happen when the delays reach enormous values (over 1 billion second).

This requires to be heavily tested before integration.

@FMassin FMassin changed the title Avoid issue with converting X large data delay to int [envelope lib] Avoid issue with converting very large data delay to integer Aug 14, 2024
@FMassin FMassin added the bug Something isn't working label Aug 14, 2024
@FMassin FMassin force-pushed the master branch 2 times, most recently from edf99ac to 241186f Compare June 24, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant