Created
November 17, 2016 11:30
-
-
Save melikhov-dev/eeec9def0017d0d177ac4df88d7f0061 to your computer and use it in GitHub Desktop.
пример
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
createCommand: function(name, runner) { | |
var commandTimeout = ref(settings, 'config.indexer.' + name + '.timeout'); | |
return new Command({ | |
name: name, | |
runner: runner, | |
url: baseAddress, | |
prepare: prepares.indexer, | |
ssl: sslOptions, | |
timeout: commandTimeout || backendTimeout, | |
expectations: { | |
statusCode: 200 | |
} | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment