Skip to content

use alternative sql subscription method#2

Open
mattyr wants to merge 3 commits intotchak:masterfrom
mattyr:sql_subscriber
Open

use alternative sql subscription method#2
mattyr wants to merge 3 commits intotchak:masterfrom
mattyr:sql_subscriber

Conversation

@mattyr
Copy link

@mattyr mattyr commented Mar 30, 2017

This "fix" takes the approach mentioned in the comments at rails/rails#12069. It leverages an alternative but still public api, and just tracks the duration internally rather than using the subscription args.

@buermann
Copy link

I'm running into the same issue with a rails 4.2.8 project. +1 for the fix.

@mattyr
Copy link
Author

mattyr commented May 23, 2017

@buermann does this pull request fix it for you?

@buermann
Copy link

It's only been a year! This always blew up in production whenever we tried to deploy it, with garbage collection going through the roof. Working from tchak's master I found memory leaks that were causing our problems, on top of the intermittent missing start times.

#6

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.

Sql subscription sometimes missing "start" value in highly threaded environments

2 participants