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

Internal: IndicesQueriesRegistry back to being created only once #12956

Merged
merged 1 commit into from
Aug 18, 2015

Conversation

javanna
Copy link
Member

@javanna javanna commented Aug 18, 2015

With #12921 we refactored IndicesModule but we forgot to make sure we create IndicesQueriesRegistry once. IndicesQueriesModule used to do bind(IndicesQueriesRegistry.class).asEagerSingleton(); otherwise we get multiple instances of the registry. This needs to be ported do the IndicesModule.

With elastic#12921 we refactored IndicesModule but we forgot to make sure we create IndicesQueriesRegistry once. IndicesQueriesModule used to do `bind(IndicesQueriesRegistry.class).asEagerSingleton();` otherwise we get multiple instances of the registry. This needs to be ported do the IndicesModule.
@jpountz
Copy link
Contributor

jpountz commented Aug 18, 2015

LGTM

@javanna javanna changed the title Internal: IndicesQueriesRegitry back to being created only once Internal: IndicesQueriesRegistry back to being created only once Aug 18, 2015
@javanna javanna merged commit 3f04ee0 into elastic:master Aug 18, 2015
javanna added a commit that referenced this pull request Aug 19, 2015
With #12921 we refactored IndicesModule but we forgot to make sure we create IndicesQueriesRegistry once. IndicesQueriesModule used to do `bind(IndicesQueriesRegistry.class).asEagerSingleton();` otherwise we get multiple instances of the registry. This needs to be ported do the IndicesModule.

backport of #12956
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants