-
Notifications
You must be signed in to change notification settings - Fork 532
RUBY-1884 time out background thread waits after about 10 seconds #1456
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
Conversation
# @param [ Hash ] options The options. | ||
# | ||
# @option options [ Logger ] :logger A custom logger to use. | ||
def initialize(pool, options = {}) | ||
@pool = pool | ||
@options = @pool.options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line can be deleted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I seem to have missed this, what options did the populator use before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The populator includes Loggable, so that’s what the options were used for before. Now that the Background Thread includes Loggable, I think the “includes Loggable” line also can be deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay removed that too.
end | ||
|
||
let(:populator) do | ||
described_class.new(pool, pool.options) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be doing some kind of clean up for the populator after the test is run?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably a good idea.
Rebased to fix the test suite. |
No description provided.