Changeset 585
- Timestamp:
- 03/03/07 16:16:09 (6 years ago)
- Files:
-
- 2 modified
-
postprocessors/flag_aus_hdtv (modified) (3 diffs)
-
status (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
postprocessors/flag_aus_hdtv
r549 r585 13 13 14 14 my $progname = "flag_aus_hdtv"; 15 my $version = "0.1 2";15 my $version = "0.13"; 16 16 17 17 $| = 1; … … 370 370 print "$status $url\n"; 371 371 372 my $max_retries = 1 if ($dontretry); 373 374 for (1..3) { 372 my $max_tries = 3; 373 $max_tries = 1 if ($dontretry); 374 375 for (1..$max_tries) { 375 376 $response = $ua->request($request); 376 377 last if ($response->is_success || $dontretry); … … 378 379 $stats{http_failed_requests}++; 379 380 $attempts++; 380 &sleepy("attempt $attempts failed (url $url), sleeping for 10 seconds",10); 381 print "Failed attempt # $attempts to retrieve $url\n"; 382 unless ($attempts == $max_tries) { 383 print "Sleeping for 10 seconds.\n"; 384 sleep 10; 385 } 381 386 } 382 387 if (!($response->is_success)) { -
status
r584 r585 13 13 reconciler reconciler_mk2 0.21 14 14 postprocessor imdb_augment_data 0.11 15 postprocessor flag_aus_hdtv 0.1 215 postprocessor flag_aus_hdtv 0.13 16 16 postprocessor augment_timezone 0.08 17 17 reference channel_list 1
