| @@ -209,8 +209,12 @@ | ||
| 209 | 209 | if ( ! defined( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST' ) ) { |
| 210 | 210 | define( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST', 'http://sandbox-api.freemius:8080' ); |
| 211 | 211 | } |
| 212 | 212 | |
| 213 | + if ( ! defined( 'WP_FS__API_TIMEOUT' ) ) { | |
| 214 | + define( 'WP_FS__API_TIMEOUT', 30 ); | |
| 215 | + } | |
| 216 | + | |
| 213 | 217 | // Set API address for local testing. |
| 214 | 218 | if ( ! WP_FS__IS_PRODUCTION_MODE ) { |
| 215 | 219 | if ( ! defined( 'FS_API__ADDRESS' ) ) { |
| 216 | 220 | define( 'FS_API__ADDRESS', WP_FS__API_ADDRESS_LOCALHOST ); |