astarte-platform / astarte

Core Astarte Repository
https://docs.astarte-platform.org/
Apache License 2.0
236 stars 45 forks source link

Trigger Engine: trigger policy TTLs are seconds, not milliseconds! #950

Closed Annopaolo closed 1 month ago

Annopaolo commented 1 month ago

The message TTL argument for a policy (if set) was passed as-is to AMQP. However, TTLs in AMQP are in milliseconds, so a x1000 factor is added. FIx relevant documentation, too.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.00%. Comparing base (912b5cd) to head (54dc227).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #950 +/- ## ========================================== - Coverage 68.04% 68.00% -0.05% ========================================== Files 281 281 Lines 7419 7419 ========================================== - Hits 5048 5045 -3 - Misses 2371 2374 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.