参数--max-dispatches-per-second:无效的浮点值:'6/m' [英] argument --max-dispatches-per-second: invalid float value: '6/m'

查看:128
本文介绍了参数--max-dispatches-per-second:无效的浮点值:'6/m'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用cloud tasks,我想将maxDispatchesPerSecond设置为6/m.

I am using cloud tasks, I want to set maxDispatchesPerSecond to 6/m.

当我尝试使用以下命令更新我的App引擎队列时:

when I try to update my app engine queue with below command:

☁  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

我该怎么办?

推荐答案

它给您的错误是:

错误:(gcloud.beta.tasks.queues.update-app-engine-queue)参数--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'

"6/m"不是有效值.它需要一个浮点值.计算所需的值,然后输入该数字.

'6/m' isn't a valid value. It requires a floating point value. Compute the value you want, and just enter that number.

这篇关于参数--max-dispatches-per-second:无效的浮点值:'6/m'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆