kbs1 background process fix
This commit is contained in:
@@ -334,7 +334,7 @@ $forgotten=$current['height']-$_config['sanity_rebroadcast_height'];
|
||||
$r=$db->run("SELECT id FROM mempool WHERE height<:forgotten ORDER by val DESC LIMIT 10",array(":forgotten"=>$forgotten));
|
||||
foreach($r as $x){
|
||||
$x['id']=san($x['id']);
|
||||
system("php propagate.php transaction $x[id] &>/dev/null &");
|
||||
system("php propagate.php transaction $x[id] > /dev/null 2>&1 &");
|
||||
$db->run("UPDATE mempool SET height=:current WHERE id=:id",array(":id"=>$x['id'], ":current"=>$current['height']));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user