mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 05:26:50 +09:00
externalize Graph Export to allow poller to finish.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3100 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
1 parent
0e218c17d5
commit
0a02f00a82
1 file changed
+3
-1
+3
-1
@@ -258,7 +258,9 @@ if (($num_polling_items > 0) && (read_config_option("poller_enabled") == "on"))
|
||||
}
|
||||
|
||||
/* graph export */
|
||||
graph_export();
|
||||
$command_string = read_config_option("path_php_binary");
|
||||
$extra_args = "-q " . $config["base_path"] . "/export.php";
|
||||
exec_background($command_string, "$extra_args");
|
||||
|
||||
if ($method == "cactid") {
|
||||
chdir(read_config_option("path_webroot"));
|
||||
|
||||
Reference in new issue
Block a user