git.cweiske.de
/
phinde.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
status page
[phinde.git]
/
www
/
status.php
1
<?php
2
namespace phinde;
3
require 'www-header.php';
4
5
$es = new Elasticsearch($GLOBALS['phinde']['elasticsearch']);
6
$esDocs = $es->countDocuments();
7
8
$queue = new Queue();
9
$gearStatus = $queue->getServerStatus();
10
11
render(
12
'status',
13
array(
14
'esDocs' => $esDocs,
15
'gearStatus' => $gearStatus,
16
)
17
);
18
?>