Projects tigase _server server-core Issues #364
small bugs in getAuthRepository and getUserRepository function of the RepositoryFactory class (#364)
Closed
euter yuan opened 1 decade ago
Due Date
2014-08-30

In RepositoryFactory.java, these are small bugs in getAuthRepository and getUserRepository function.

These is raw code fragment in getAuthRepository function,

...
params.put(RepositoryFactory.DATA_REPO_POOL_SIZE_PROP_KEY, String.valueOf(
					repo_pool_size));
...

According to the RepositoryFactory class, the following code fragment should exist in the corresponding position of the getAuthRepository function.

...
params.put(RepositoryFactory.AUTH_REPO_POOL_SIZE_PROP_KEY, String.valueOf(
					repo_pool_size));
...

The same problem also exists in getUserRepository function.

Artur Hefczyc commented 1 decade ago

Andrzej, you worked on the code recently so you are more familiar with this part. Please have a look at this.

wojciech.kapcia@tigase.net commented 1 decade ago

I'll take over as I'm currently working on other task related to pool sizes.

wojciech.kapcia@tigase.net commented 1 decade ago

The way it was to this point was related to the introduction of DataRepository as an underlying layer for connecting to the database.

I've made a few corrections to how setting pool size works so now specific data-repository-pool size property won't be overwritten by the default value of particular repository type (auth, user).

issue 1 of 1
Type
Bug
Priority
Minor
Assignee
RedmineID
2224
Version
tigase-server-7.0.0
Spent time
27h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#364
Please wait...
Page is in error, reload to recover