mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Too much overlap in storage plugin URLs for meaningful loadbalancing and config simplicity. Make poorxy emulate the real situation and change related URLs.
This commit is contained in:
@@ -928,7 +928,7 @@ program
|
||||
, '--group-timeout', options.groupTimeout
|
||||
, '--public-ip', options.publicIp
|
||||
, '--storage-url'
|
||||
, util.format('http://localhost:%d/', options.storagePort)
|
||||
, util.format('http://localhost:%d/', options.poorxyPort)
|
||||
, '--adb-host', options.adbHost
|
||||
, '--adb-port', options.adbPort
|
||||
].concat(cliutil.allUnknownArgs(args)))
|
||||
@@ -974,7 +974,7 @@ program
|
||||
, '--port', options.websocketPort
|
||||
, '--secret', options.authSecret
|
||||
, '--storage-url'
|
||||
, util.format('http://localhost:%d/', options.storagePort)
|
||||
, util.format('http://localhost:%d/', options.poorxyPort)
|
||||
, '--connect-sub', options.bindAppPub
|
||||
, '--connect-push', options.bindAppPull
|
||||
])
|
||||
@@ -990,7 +990,7 @@ program
|
||||
'storage-plugin-image'
|
||||
, '--port', options.storagePluginImagePort
|
||||
, '--storage-url'
|
||||
, util.format('http://localhost:%d/', options.storagePort)
|
||||
, util.format('http://localhost:%d/', options.poorxyPort)
|
||||
])
|
||||
|
||||
// apk processor
|
||||
@@ -998,7 +998,7 @@ program
|
||||
'storage-plugin-apk'
|
||||
, '--port', options.storagePluginApkPort
|
||||
, '--storage-url'
|
||||
, util.format('http://localhost:%d/', options.storagePort)
|
||||
, util.format('http://localhost:%d/', options.poorxyPort)
|
||||
])
|
||||
|
||||
// poorxy
|
||||
|
||||
Reference in New Issue
Block a user