Description of problem: rhc-admin-migrate: We need a cli param to override MAX_THREADS so that we don't have to edit the script to override the default. Example: rhc-admin-migrate --max-threads 20 Version-Release number of selected component (if applicable): rhc-broker-0.95.22-1.el6_3.noarch
verified on devenv_1902 rhc-broker-0.96.2-1.el6_3.noarch Steps: 1.create applications on old instance 2.yum update 3.git clone git:openshift/li.git li-source cd li-source/broker/scripts/ 4../rhc-admin-migrate --help 5. ./rhc-admin-migrate --max-threads 20 --version 2.0.15 Results: step 4: rhc-admin-migrate have the max-threads param --max-threads num Indicates the number of processing queues Step 5: Gathering gears for user: jhou with uuid: 29f6b45fd3cc4275a967f43ebc08053e ##################################################### Gear counts per thread: [30] ##################################################### ............ ##################################################### Summary: # of users: 1 # of gears: 30 # of failures: 0 Gear counts per thread: [30] Total execution time: 577s ##################################################### the --max-threads param is added