mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
bug #3618: Define timeout for softlayer requests
This commit is contained in:
parent
d6e11a6f92
commit
d0e20b86d0
@ -1,4 +1,5 @@
|
||||
# Regions extracted from http://www.softlayer.com/data-centers
|
||||
timeout: 120
|
||||
regions:
|
||||
default:
|
||||
region_name: sjc01
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user