Skip to content

Commit

Permalink
Changed timeout value for checking openstack keystone (yahoojapan#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggtakec authored Dec 10, 2024
1 parent 1277120 commit 415d07c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/openstackep.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ function rawGetKeystoneEndpointsCallback(cbargs, err, epmap)
// (default true)
// timeout : specify the timeout required to check
// each keystone endpoint.
// (default 5000ms)
// (default 30s)
// is_remake_keystone_ep : if keystone endpoint is not registered,
// it specifies whether to recreate it.
// (default false)
Expand All @@ -437,7 +437,7 @@ function rawGetKeystoneEndpoint(callback, is_v3, is_test, timeout, is_remake_key
{
var error;
if(!apiutil.isSafeEntity(timeout) || isNaN(timeout)){
timeout = 5000; // default 5s
timeout = 30000; // default 30s
}
if('boolean' !== typeof is_test){
is_test = true; // default true
Expand Down

0 comments on commit 415d07c

Please sign in to comment.