Аргумент --max-dispatches-per-second: недопустимое значение с плавающей запятой: '6/m'

Я использую cloud tasksХочу установить maxDispatchesPerSecond в 6/m,

когда я пытаюсь обновить очередь моего движка приложений с помощью следующей команды:

☁  rate-limit [master] ⚡  gcloud beta tasks queues update-app-engine-queue cloud-tasks-rate-limit --max-dispatches-per-second='6/m'
ERROR: (gcloud.beta.tasks.queues.update-app-engine-queue) argument --max-dispatches-per-second: invalid float value: '6/m'
Usage: gcloud beta tasks queues update-app-engine-queue QUEUE [optional flags]
  optional flags may be  --clear-max-attempts | --clear-max-backoff |
                         --clear-max-concurrent-dispatches |
                         --clear-max-dispatches-per-second |
                         --clear-max-doublings | --clear-max-retry-duration |
                         --clear-min-backoff | --clear-routing-override |
                         --help | --max-attempts | --max-backoff |
                         --max-concurrent-dispatches |
                         --max-dispatches-per-second | --max-doublings |
                         --max-retry-duration | --min-backoff |
                         --routing-override

For detailed information on this command and its flags, run:
  gcloud beta tasks queues update-app-engine-queue --help

Как я могу к этому?

1 ответ

Ошибка, которую он дает вам:

ОШИБКА: (gcloud.beta.tasks.queues.update-app-engine-queue) аргумент --max-dispatches-per-second: недопустимое значение с плавающей запятой: '6/m'

"6 / m" не является допустимым значением. Требуется значение с плавающей запятой. Вычислите желаемое значение и просто введите это число.

Другие вопросы по тегам