PluginProbe
Github Embed / 1.2
Github Embed v1.2
trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.0.1 2.0.2 2.1.0 2.2.0 2.2.1
← All changes | github-api.php +2 -2 1.31.2 View file →
@@ -11,9 +11,9 @@
11 11 // 2 - calls, and responses
12 12 define ( 'GEDEBUG_RESP', 2 );
13 13
14 14 // Selected debug level
15 -define ( 'GITHUB_API_LEVEL', GEDEBUG_RESP );
15 +define ( 'GITHUB_API_LEVEL', GEDEBUG_NONE );
16 16
17 17
18 18 /**
19 19 * This class contains all the functions that actually retrieve information from the GitHub API
@@ -43,9 +43,9 @@
43 43 * @param int $seconds The current timeout setting
44 44 * @return int The revised timeout setting
45 45 */
46 46 function http_request_timeout ( $seconds ) {
47 - return $seconds < 25 ? 25 : $seconds;
47 + return 25;
48 48 }
49 49
50 50
51 51