Mark Meyer
2018-11-28 20:14:45 UTC
I am using the following cron.yaml file and attempting to have the retries
start at 2 minutes after a failure (I'm using Python3 in the standard
environment).
cron:
- description: "daily call"
url: /twilio/start_call/
timezone: "America/Anchorage"
schedule: every day 17:00
retry_parameters:
min_backoff_seconds: 120.0
max_backoff_seconds: 360.0
max_doublings: 3
The behavior I'm expecting when the url returns 503 is a 120 second
interval and then a retry. What I am getting retries at (quite precise) one
minute intervals. I don't see anything in the docs about a time limit. I
hope I'm not doing something obviously wrong, but I've been starting at it
and trying variations without any success.
The logs I am see look like:
2018-11-26 17:00:00.764 AKST GET 503 178 B 970 ms AppEngine-Google (+http://code.google.com/appengine)
/twilio/start_call/
2018-11-26 17:01:01.939 AKST GET 503 178 B 704 ms
AppEngine-Google;(+http://code.google.com/appengine) /twilio/start_call/
2018-11-26 17:02:02.747 AKST GET 503 178 B 850 ms
AppEngine-Google;(+http://code.google.com/appengine) /twilio/start_call/
2018-11-26 17:03:03.702 AKST GET 503 178 B 666 ms
AppEngine-Google;(+http://code.google.com/appengine) /twilio/start_call/
2018-11-26 17:04:04.477 AKST GET 200 189 B 65 ms AppEngine-Google;
(+http://code.google.com/appengine) /twilio/start_call/
Is there something I'm missing?
Thank you.
start at 2 minutes after a failure (I'm using Python3 in the standard
environment).
cron:
- description: "daily call"
url: /twilio/start_call/
timezone: "America/Anchorage"
schedule: every day 17:00
retry_parameters:
min_backoff_seconds: 120.0
max_backoff_seconds: 360.0
max_doublings: 3
The behavior I'm expecting when the url returns 503 is a 120 second
interval and then a retry. What I am getting retries at (quite precise) one
minute intervals. I don't see anything in the docs about a time limit. I
hope I'm not doing something obviously wrong, but I've been starting at it
and trying variations without any success.
The logs I am see look like:
2018-11-26 17:00:00.764 AKST GET 503 178 B 970 ms AppEngine-Google (+http://code.google.com/appengine)
/twilio/start_call/
2018-11-26 17:01:01.939 AKST GET 503 178 B 704 ms
AppEngine-Google;(+http://code.google.com/appengine) /twilio/start_call/
2018-11-26 17:02:02.747 AKST GET 503 178 B 850 ms
AppEngine-Google;(+http://code.google.com/appengine) /twilio/start_call/
2018-11-26 17:03:03.702 AKST GET 503 178 B 666 ms
AppEngine-Google;(+http://code.google.com/appengine) /twilio/start_call/
2018-11-26 17:04:04.477 AKST GET 200 189 B 65 ms AppEngine-Google;
(+http://code.google.com/appengine) /twilio/start_call/
Is there something I'm missing?
Thank you.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+***@googlegroups.com.
To post to this group, send email to google-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ef233136-0ebc-4577-aa88-64cb1637d7d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+***@googlegroups.com.
To post to this group, send email to google-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ef233136-0ebc-4577-aa88-64cb1637d7d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.