mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
not just once
This commit is contained in:
parent
db4d7f0af7
commit
45480671b6
2 changed files with 5 additions and 3 deletions
|
@ -84,10 +84,11 @@ parse(string body, mapping headers) {
|
|||
}
|
||||
|
||||
fetch() {
|
||||
P3(("%O ready to fetch from %O\n", ME, feed))
|
||||
call_out( #'fetch, 3 * 59 ); // odd is better
|
||||
feed -> content( #'parse, 0, 1 );
|
||||
feed -> fetch("http://twitter.com/statuses/friends_timeline.json"
|
||||
"?count="+( lastid? ("44&since_id="+ lastid) : "44"));
|
||||
call_out( #'fetch, 6 * 59 ); // odd is better
|
||||
"?count="+( lastid? ("23&since_id="+ lastid) : "23"));
|
||||
}
|
||||
|
||||
create() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue