Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
b6a2935a
Commit
b6a2935a
authored
May 09, 2017
by
Dominik Hebeler
Browse files
Merge branch '485-ux-bei-such-timeout' into 'development'
Resolve "UX bei Such-Timeout" Closes
#485
See merge request
!848
parents
87362f0d
b6daaa92
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
app/Jobs/Searcher.php
View file @
b6a2935a
...
@@ -60,7 +60,7 @@ class Searcher implements ShouldQueue
...
@@ -60,7 +60,7 @@ class Searcher implements ShouldQueue
// The mission can be empty when blpop hit the timeout
// The mission can be empty when blpop hit the timeout
if
(
empty
(
$mission
)){
if
(
empty
(
$mission
)){
break
;
continue
;
}
else
{
}
else
{
$mission
=
$mission
[
1
];
$mission
=
$mission
[
1
];
$this
->
counter
++
;
#
$this
->
counter
++
;
#
...
...
app/Models/Searchengine.php
View file @
b6a2935a
...
@@ -163,7 +163,7 @@ abstract class Searchengine
...
@@ -163,7 +163,7 @@ abstract class Searchengine
$median
+=
floatval
(
$data
[
1
]);
$median
+=
floatval
(
$data
[
1
]);
}
}
$median
/=
sizeof
(
$searcherData
);
$median
/=
sizeof
(
$searcherData
);
if
(
$median
<
1
00
){
if
(
$median
<
.
1
){
$needSearcher
=
true
;
$needSearcher
=
true
;
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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