mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-10 20:19:14 +00:00
report runtime info in counter callbacks
This commit is contained in:
@@ -1718,4 +1718,11 @@
|
||||
|
||||
print "</init-params>";
|
||||
}
|
||||
|
||||
function print_runtime_info($link) {
|
||||
print "<runtime-info>";
|
||||
print "<param key=\"daemon_is_running\" value=\"".
|
||||
sprintf("%d", file_is_locked("update_daemon.lock")) . "\"/>";
|
||||
print "</runtime-info>";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user