Closed david-caro closed 9 years ago
Don't know if it's a good idea to set timeout by default for all requests globally. Foreman request on instance deploy usualy waits for instance to come up and it could take much longer than 1 minute. And it seems it's not possible to make it longer for only one request (for create_hosts). So backward-compatible approach would be adding new option but keeping it disabled at the moment.
That will let you specify a custom timeout parameter (default 60 seconds) to pass to the underlying requests module.
Fixes issue #16