View source on GitHub |
Parses a rate string in the form number/unit
, or the literal 0
.
google.appengine.api.queueinfo.ParseRate(
rate
)
The unit is one of s
(seconds), m
(minutes), h
(hours) or d
(days).
Args | |
---|---|
rate
|
The string that contains the rate. |
Returns | |
---|---|
A floating point number that represents the rate/second .
|
Raises | |
---|---|
MalformedQueueConfiguration
|
If the rate is invalid. |