Closed (duplicate)
Project:
SuperCron
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2009 at 17:07 UTC
Updated:
18 Aug 2009 at 15:12 UTC
Hi there,
This is what I am looking for with multi threading capability but when I tried to run supercron.php or invoke feedapi in supercron admin, the feeds are not refreshed. However, if i click on 'Invoke All', the feeds starts to run. Thanks!
Comments
Comment #1
MisterSpeed commentedThis may just be an impression left by the multithreading. When you click on Invoke on a particular module and it is marked for separate execution Invoke will return right away and not update its stats (the process doesn't wait for the last "thread" to be completed). If you wait for a certain amount of time for the hook to execute and refresh your page, the stats will be updated (including the last call time). That's why clicking Invoke doesn't give the impression of something happening but Invoke All did: there was a time gap between both. If you try it again but wait for the hook to complete (add a few seconds to teh average execution time), then refresh the page, do you get updated results ?
Comment #2
dropchew commentedI tried disabling the multithread function and invoke feedapi and it returns to the page instantly, waited a few minutes and refresh the supercron admin page but the feeds are still not refreshed... I can see that it is being called by looking at 'Last called' but the 'execution time' and 'average exec time' are 0.00 and 0.08 sec. I have a few hundred feeds and it shouldn't take that fast. This time I tried using drupal's cron and the feeds starts to work...hope I didnt miss out anything. thanks
Comment #3
MisterSpeed commentedThe problem appears to be with this line in feedapi.module, which queries a cron-specific variable:
$time_limit = min($time_limit, variable_get('cron_semaphore', 0) + ini_get('max_execution_time'));
So we'll just create that variable as well. It will be fixed in 1.3.
Comment #4
MisterSpeed commentedComment #5
dropchew commentedHi,
I upgraded to 1.3 but its seems that manual invoking or supercron.php feedapi is still not working...
Comment #6
MisterSpeed commentedComment #7
thehong commentedHi, I set up site with:
* feedapi-6.x-1.x-dev (today head). Enabled: FeedAPI, FeedAPI Node, Common syndication parser, FeedAPI Inherit.
* supercron-6.x-1.3
Then, I created 2 feed-nodes:
* http://drupal.org/rss.xml and
* http://www.bbc.co.uk/vietnamese/index.xml
Enable Multithread for all modules listed on /admin/settings/supercron. Then, I tried to invoke feedapi module, as you reported, my feeds refresh as expected (many node displayed on homepage). I cleared feeds some times, do not face any problem.
Andy
Comment #8
qds013 commentedApologize for posting this request to the wrong place.
Comment #9
MisterSpeed commentedThe new issue definition is now in #542542: Seems to have incompatibility issue with PostgreSQL
Comment #10
MisterSpeed commented(double post)