Logging to analyse the stale gprobe processes

This commit is contained in:
Michael Vogel 2014-12-08 11:02:03 +01:00
parent f2d0baae84
commit c398974918

View File

@ -37,6 +37,8 @@ function gprobe_run(&$argv, &$argc){
dbesc(normalise_link($url))
);
logger("gprobe start for ".normalise_link($url), LOGGER_DEBUG);
if(! count($r)) {
$arr = probe_url($url);
@ -56,6 +58,7 @@ function gprobe_run(&$argv, &$argc){
if(count($r))
poco_load(0,0,$r[0]['id'], str_replace('/profile/','/poco/',$r[0]['url']));
logger("gprobe end for ".normalise_link($url), LOGGER_DEBUG);
return;
}