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

Use millis since epoch when calling set_queue_start #45

Merged
merged 1 commit into from
Jul 11, 2019

Conversation

linkyndy
Copy link
Contributor

This didn't previously work, because we were calling transaction.set_queue_start with a Time object, whereas this is a lower-level method that only accepts integers.

SentTimestamp from an SQS message returns millis since epoch. Appsignal converts times to integers, and dispatches them to the C library in the same way. So, this PR fixes this by providing the actual millis since epoch (as provided by SQS), as an integer.

@linkyndy linkyndy requested a review from julik July 10, 2019 09:12
@julik
Copy link
Contributor

julik commented Jul 10, 2019 via email

@julik julik merged commit 5c2f0a3 into master Jul 11, 2019
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.

2 participants