The direct structure call is now only executed when called via the poller.php
This commit is contained in:
parent
d691c2e621
commit
2971501f63
4 changed files with 8 additions and 6 deletions
|
|
@ -889,7 +889,10 @@ function poller_run_cron() {
|
|||
poller_kill_stale_workers();
|
||||
}
|
||||
|
||||
if (array_search(__file__,get_included_files())===0){
|
||||
if (array_search(__file__,get_included_files())===0) {
|
||||
// Check the database structure and possibly fixes it
|
||||
check_db(true);
|
||||
|
||||
poller_run($_SERVER["argv"],$_SERVER["argc"]);
|
||||
|
||||
poller_unclaim_process();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue