[dw-free] Finishing up payment system
[commit: http://hg.dwscoalition.org/dw-free/rev/250718b5866c]
http://bugs.dwscoalition.org/show_bug.cgi?id=116
Attempt to ameliorate some of the PayPal timeouts with a longer timeout on
our end.
Patch by
mark.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=116
Attempt to ameliorate some of the PayPal timeouts with a longer timeout on
our end.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/DW/Shop/Engine/PayPal.pm
-------------------------------------------------------------------------------- diff -r 0f25abc3ccf3 -r 250718b5866c cgi-bin/DW/Shop/Engine/PayPal.pm --- a/cgi-bin/DW/Shop/Engine/PayPal.pm Wed Apr 29 21:37:30 2009 +0000 +++ b/cgi-bin/DW/Shop/Engine/PayPal.pm Wed Apr 29 22:01:17 2009 +0000 @@ -318,7 +318,7 @@ sub _pp_req { my $reqct = join( '&', @req ); $req->content( $reqct ); - my $ua = LJ::get_useragent( role => 'paypal', timeout => 20 ); + my $ua = LJ::get_useragent( role => 'paypal', timeout => 60 ); $ua->agent( 'DW-PayPal-Engine/1.0' ); my $res = $ua->request( $req ); --------------------------------------------------------------------------------