Automatic task execution on the Google engine development server (python)

The docs for the python development server talk about running tasks:

When your application is launched on the development server, task queues are not processed automatically. Instead, tasks perform tasks that you can learn and execute from the developer console ...

But the release notes for version 1.3.4 for sdk python (which I use) say:

Automatic task execution is now included in dev_appserver. To disable this use the flag --disable_task_running.

So maybe the docs are a little behind, aren't they? Unless I go to http: // localhost: 8080 / _ah / admin / tasks? Queue = default ", I see the following:

Tasks will not be performed automatically. Click the Run button to complete each task.

Can I run tasks automatically or not? If so, what is the trick?

+3
source share
1 answer

The problem seems to be that I was running the dev server with python 2.6 instead of 2.5. When using 2.5, everything worked.

+2
source

Source: https://habr.com/ru/post/1751685/


All Articles