mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +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:
parent
7c16c40dae
commit
8b9e5d58c9
8 changed files with 70 additions and 57 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue