Go 1.11 has reached end of support and will be deprecated on January 31, 2026. After deprecation, you won't be able to deploy Go 1.11 applications, even if your organization previously used an organization policy to re-enable deployments of legacy runtimes. Your existing Go 1.11 applications will continue to run and receive traffic after their deprecation date. We recommend that you migrate to the latest supported version of Go.

Testing Push Queues in the Development Server

This page describes some limitations with using the local development server (dev_appserver) to test push queues in your application. In most respects, you set up your queues and tasks just as you would to run them in the App Engine production environment, but there are some differences:

  • The development server doesn't respect the rate and bucket-size attributes of your queues. As a result, tasks are executed as close to their ETA as possible. Setting a rate of 0 doesn't prevent tasks from being executed automatically.
  • The development server doesn't preserve queue state across restarts.

To prevent push tasks from running in the development server at all, use the following command:

python2 DEVAPPSERVER_ROOT/google_appengine/dev_appserver.py --enable_task_running no

Replace DEVAPPSERVER_ROOT with the path to the folder where you extract the archived version of devapp_server.py. For more information about downloading and using the archived version of dev_appserver.py, see Using the local development server.

For more information about devapp_server.py command options, see Local development server options.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月24日 UTC.