Probar listas de aplicaciones en cola en el servidor de desarrollo
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En esta página, se describen algunas limitaciones en relación con el uso del servidor de desarrollo local (dev_appserver) para probar listas de aplicaciones en cola en tu aplicación.
En la mayoría de los casos, configuras tus colas y tareas como lo harías para ejecutarlas en el entorno de producción de App Engine, pero con las siguientes diferencias:
El servidor de desarrollo no respeta los atributos rate y bucket-size de tus colas. Como resultado, las tareas se ejecutan lo más cerca posible de su ETA. Establecer una velocidad de 0 no impide que las tareas se ejecuten de forma automática.
El servidor de desarrollo no conserva el estado de la cola en los reinicios.
Si deseas obtener más información sobre las opciones disponibles cuando uses el servidor de desarrollo local, consulta Usar el servidor de desarrollo local.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-04-21 (UTC)"],[[["\u003cp\u003eThis API information pertains to first-generation runtimes and is relevant when upgrading to corresponding second-generation runtimes.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines limitations when utilizing the local development server (\u003ccode\u003edev_appserver\u003c/code\u003e) for testing push queues.\u003c/p\u003e\n"],["\u003cp\u003eThe local development server does not adhere to the \u003ccode\u003erate\u003c/code\u003e and \u003ccode\u003ebucket-size\u003c/code\u003e queue attributes, resulting in tasks executing near their ETA regardless of rate settings.\u003c/p\u003e\n"],["\u003cp\u003eQueue state is not retained across restarts of the development server.\u003c/p\u003e\n"]]],[],null,["# Testing Push Queues in the Development Server\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nGo Java PHP Python\n| This API is supported for first-generation runtimes and can be used when [upgrading to corresponding second-generation runtimes](/appengine/docs/standard/\n|\n| /services/access). If you are updating to the App Engine runtime, refer to the [Upgrade to second-generation runtimes]() page to learn about your migration options for legacy bundled services.\n\nThis page describes some limitations with using the [local development server](/appengine/docs/standard/tools/using-local-server) (`dev_appserver`) to test push queues in your application.\nIn most respects, you set up your queues and tasks just as you would to run them in the\nApp Engine production environment, but there are some differences:\n\n- 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.\n- The development server doesn't preserve queue state across restarts.\n\nFor more detailed information on the options available using the local\ndevelopment server, see\n[Using the local development server](/appengine/docs/standard/tools/local-devserver-command)."]]