kopia lustrzana https://github.com/c9/core
commit
4633a11c2a
|
@ -53,7 +53,7 @@ function RestClient(host, port, config) {
|
|||
|
||||
/** Keep requests alive for long running requests **/
|
||||
req.setSocketKeepAlive(true);
|
||||
|
||||
|
||||
req.on("error", function(e) {
|
||||
log("ERROR %s %s://%s:%s%s %s",
|
||||
options.method,
|
||||
|
|
|
@ -52,6 +52,7 @@ module.exports.getDefaultSettings = getDefaultSettings;
|
|||
|
||||
function main(argv, config, onLoaded) {
|
||||
var inContainer = os.hostname().match(/-\d+$/);
|
||||
|
||||
var options = optimist(argv)
|
||||
.usage("Usage: $0 [CONFIG_NAME] [--help]")
|
||||
.alias("s", "settings")
|
||||
|
|
Ładowanie…
Reference in New Issue