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
7cdd9cea
Commit
7cdd9cea
authored
May 10, 2017
by
Dominik Hebeler
Browse files
Weiteren Bug gefixt
parent
acdf9494
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Jobs/Searcher.php
View file @
7cdd9cea
...
...
@@ -119,8 +119,10 @@ class Searcher implements ShouldQueue
}
}
private
function
updateStats
(
$poptime
){
$connectionInfo
=
base64_encode
(
json_encode
(
$this
->
connectionInfo
));
Redis
::
hset
(
$this
->
name
.
".stats"
,
$this
->
pid
,
$connectionInfo
.
";"
.
$poptime
);
if
(
$this
->
connectionInfo
!==
NULL
){
$connectionInfo
=
base64_encode
(
json_encode
(
$this
->
connectionInfo
));
Redis
::
hset
(
$this
->
name
.
".stats"
,
$this
->
pid
,
$connectionInfo
.
";"
.
$poptime
);
}
}
private
function
getFetchTime
(){
...
...
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