[dw-free] Allow importing of your journal from another LiveJournal-based site.
[commit: http://hg.dwscoalition.org/dw-free/rev/681f2d0c15f4]
http://bugs.dwscoalition.org/show_bug.cgi?id=114
Don't step back 100 seconds, this was for testing.
Patch by
mark.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=114
Don't step back 100 seconds, this was for testing.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm
-------------------------------------------------------------------------------- diff -r 3d033d7345ff -r 681f2d0c15f4 cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm --- a/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm Tue Apr 07 08:31:23 2009 +0000 +++ b/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm Tue Apr 07 08:34:38 2009 +0000 @@ -147,7 +147,7 @@ sub try_work { # not broken.) my @keys = sort { $sync{$a}->[1] cmp $sync{$b}->[1] } keys %sync; $last_itemid = $keys[0]; - $lastgrab = $step_time->( $sync{$last_itemid}->[1], -($tries+100) ); + $lastgrab = $step_time->( $sync{$last_itemid}->[1], -$tries ); $log->( 'Loading entries; lastsync = %s, itemid = %d.', $lastgrab, $keys[0] ); $hash = $class->call_xmlrpc( $data, 'getevents', --------------------------------------------------------------------------------