OSDN Git Service

increase timeout threshold for 'wp core download'. fixes #748
authorscribu <mail@scribu.net>
Wed, 13 Nov 2013 23:24:35 +0000 (01:24 +0200)
committerscribu <mail@scribu.net>
Wed, 13 Nov 2013 23:26:47 +0000 (01:26 +0200)
php/commands/core.php

index e0f2d78..09d15da 100644 (file)
@@ -64,7 +64,7 @@ class Core_Command extends WP_CLI_Command {
 
                $headers = array('Accept' => 'application/json');
                $options = array(
-                       'timeout' => 30,
+                       'timeout' => 600,  // 10 minutes ought to be enough for everybody
                        'filename' => $temp
                );