Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
118ffb84
Commit
118ffb84
authored
Nov 01, 2016
by
Guus der Kinderen
Committed by
akrherz
Nov 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-1202: Fixed typo in Proxool property name. (#654)
parent
34ae19f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
DefaultConnectionProvider.java
.../org/jivesoftware/database/DefaultConnectionProvider.java
+6
-6
No files found.
src/java/org/jivesoftware/database/DefaultConnectionProvider.java
View file @
118ffb84
...
@@ -20,11 +20,6 @@
...
@@ -20,11 +20,6 @@
package
org
.
jivesoftware
.
database
;
package
org
.
jivesoftware
.
database
;
import
java.sql.Connection
;
import
java.sql.DriverManager
;
import
java.sql.SQLException
;
import
java.util.Properties
;
import
org.jivesoftware.util.JiveGlobals
;
import
org.jivesoftware.util.JiveGlobals
;
import
org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
;
import
org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
;
import
org.logicalcobwebs.proxool.ProxoolException
;
import
org.logicalcobwebs.proxool.ProxoolException
;
...
@@ -33,6 +28,11 @@ import org.logicalcobwebs.proxool.admin.SnapshotIF;
...
@@ -33,6 +28,11 @@ import org.logicalcobwebs.proxool.admin.SnapshotIF;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
java.sql.Connection
;
import
java.sql.DriverManager
;
import
java.sql.SQLException
;
import
java.util.Properties
;
/**
/**
* Default Jive connection provider, which uses an internal connection pool.<p>
* Default Jive connection provider, which uses an internal connection pool.<p>
*
*
...
@@ -96,7 +96,7 @@ public class DefaultConnectionProvider implements ConnectionProvider {
...
@@ -96,7 +96,7 @@ public class DefaultConnectionProvider implements ConnectionProvider {
public
void
start
()
{
public
void
start
()
{
proxoolURL
=
"proxool.openfire:"
+
getDriver
()+
":"
+
getServerURL
();
proxoolURL
=
"proxool.openfire:"
+
getDriver
()+
":"
+
getServerURL
();
settings
=
new
Properties
();
settings
=
new
Properties
();
settings
.
setProperty
(
"proxool.maximum-activetime"
,
Integer
.
toString
(
activeTimeout
));
settings
.
setProperty
(
"proxool.maximum-active
-
time"
,
Integer
.
toString
(
activeTimeout
));
settings
.
setProperty
(
"proxool.maximum-connection-count"
,
Integer
.
toString
(
getMaxConnections
()));
settings
.
setProperty
(
"proxool.maximum-connection-count"
,
Integer
.
toString
(
getMaxConnections
()));
settings
.
setProperty
(
"proxool.minimum-connection-count"
,
Integer
.
toString
(
getMinConnections
()));
settings
.
setProperty
(
"proxool.minimum-connection-count"
,
Integer
.
toString
(
getMinConnections
()));
settings
.
setProperty
(
"proxool.maximum-connection-lifetime"
,
Integer
.
toString
((
int
)(
86400000
*
getConnectionTimeout
())));
settings
.
setProperty
(
"proxool.maximum-connection-lifetime"
,
Integer
.
toString
((
int
)(
86400000
*
getConnectionTimeout
())));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment