Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
c228f3b5
Commit
c228f3b5
authored
14 years ago
by
buczekp
Browse files
Options
Downloads
Patches
Plain Diff
improved info logging
SVN: 17250
parent
6fb1d59d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/search/FullTextIndexUpdater.java
+5
-1
5 additions, 1 deletion
...ric/server/dataaccess/db/search/FullTextIndexUpdater.java
with
5 additions
and
1 deletion
openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/search/FullTextIndexUpdater.java
+
5
−
1
View file @
c228f3b5
...
@@ -75,6 +75,10 @@ public final class FullTextIndexUpdater extends HibernateDaoSupport implements
...
@@ -75,6 +75,10 @@ public final class FullTextIndexUpdater extends HibernateDaoSupport implements
public
void
start
()
public
void
start
()
{
{
if
(
operationLog
.
isInfoEnabled
())
{
operationLog
.
info
(
"Starting updater thread with queue size: "
+
updaterQueue
.
size
());
}
Thread
thread
=
new
Thread
(
new
FullTextIndexUpdaterRunnable
(),
"Full Text Index Updater"
);
Thread
thread
=
new
Thread
(
new
FullTextIndexUpdaterRunnable
(),
"Full Text Index Updater"
);
thread
.
setDaemon
(
true
);
thread
.
setDaemon
(
true
);
thread
.
setPriority
(
Thread
.
MIN_PRIORITY
);
thread
.
setPriority
(
Thread
.
MIN_PRIORITY
);
...
@@ -111,7 +115,7 @@ public final class FullTextIndexUpdater extends HibernateDaoSupport implements
...
@@ -111,7 +115,7 @@ public final class FullTextIndexUpdater extends HibernateDaoSupport implements
final
IndexMode
indexMode
=
context
.
getIndexMode
();
final
IndexMode
indexMode
=
context
.
getIndexMode
();
if
(
indexMode
==
IndexMode
.
NO_INDEX
)
// sanity check
if
(
indexMode
==
IndexMode
.
NO_INDEX
)
// sanity check
{
{
operationLog
.
debug
(
String
.
format
(
"Stopping index updater process as "
operationLog
.
info
(
String
.
format
(
"Stopping index updater process as "
+
" '%s' mode was configured."
,
indexMode
));
+
" '%s' mode was configured."
,
indexMode
));
return
;
return
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment