r76425 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76424‎ | r76425 | r76426 >
Date:03:07, 10 November 2010
Author:tomasz
Status:deferred
Tags:
Comment:
Lowering to a more reasonable timeout
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -429,7 +429,7 @@
430430 curl_setopt( $ch, CURLOPT_USERAGENT, $user_agent );
431431 curl_setopt( $ch, CURLOPT_HEADER, 1 );
432432 curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
433 - curl_setopt( $ch, CURLOPT_TIMEOUT, 90 );
 433+ curl_setopt( $ch, CURLOPT_TIMEOUT, 5 );
434434 curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 0 );
435435 curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0 );
436436 curl_setopt( $ch, CURLOPT_POSTFIELDS, $payflow_query );

Status & tagging log