1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

bug #3618: Define timeout for softlayer requests

This commit is contained in:
Daniel Molina 2015-02-19 16:04:55 +01:00
parent d6e11a6f92
commit d0e20b86d0
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# Regions extracted from http://www.softlayer.com/data-centers
timeout: 120
regions:
default:
region_name: sjc01

View File

@ -172,6 +172,8 @@ class SLDriver
client_cred[:endpoint_url]=@region['endpoint'] if @region['endpoint']
client_cred[:timeout] = public_cloud_sl_conf['timeout'] || 120
@sl_client = SoftLayer::Client.new(client_cred)
end