1
0
Fork 0
forked from blallo/rss-bridge

[GithubIssueBridge] fix comments page cache duration

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-09-21 18:17:58 +02:00
parent 0eeb511676
commit 957ae5d379

View file

@ -105,7 +105,7 @@ class GithubIssueBridge extends BridgeAbstract{
if($this->getInput('c')){ if($this->getInput('c')){
$uri=static::URI.$this->getInput('u').'/'.$this->getInput('p').'/issues/'.$issueNbr; $uri=static::URI.$this->getInput('u').'/'.$this->getInput('p').'/issues/'.$issueNbr;
$issue=$this->getSimpleHTMLDOMCached($uri); $issue=$this->getSimpleHTMLDOMCached($uri,1800);
if($issue){ if($issue){
$this->items=array_merge($this->items,$this->extractIssueComments($issue)); $this->items=array_merge($this->items,$this->extractIssueComments($issue));
continue; continue;