 Celery 2.1 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility need to configure it with an Connection String [http://www.sqlalchemy.org/docs/dbengine.html#create-engine-url-arguments], some examples include: # sqlite (filename) CELERY_RESULT_DBURI = "sqlite:///celerydb html#create-engine-url-arguments] for more information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS0 码力 | 463 页 | 861.69 KB | 1 年前3 Celery 2.1 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility need to configure it with an Connection String [http://www.sqlalchemy.org/docs/dbengine.html#create-engine-url-arguments], some examples include: # sqlite (filename) CELERY_RESULT_DBURI = "sqlite:///celerydb html#create-engine-url-arguments] for more information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS0 码力 | 463 页 | 861.69 KB | 1 年前3
 Celery 2.0 Documentationneed to configure it with an Connection String [http://www.sqlalchemy.org/docs/dbengine.html#create-engine-url-arguments], some examples include: # sqlite (filename) CELERY_RESULT_DBURI = "sqlite:///celerydb org/docs/dbengine.html#create-engine-url-arguments] for more information about connection strings. To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # # echo enables verbose logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname"0 码力 | 284 页 | 332.71 KB | 1 年前3 Celery 2.0 Documentationneed to configure it with an Connection String [http://www.sqlalchemy.org/docs/dbengine.html#create-engine-url-arguments], some examples include: # sqlite (filename) CELERY_RESULT_DBURI = "sqlite:///celerydb org/docs/dbengine.html#create-engine-url-arguments] for more information about connection strings. To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # # echo enables verbose logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname"0 码力 | 284 页 | 332.71 KB | 1 年前3
 Celery 2.2 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" AMQP backend settings0 码力 | 505 页 | 878.66 KB | 1 年前3 Celery 2.2 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" AMQP backend settings0 码力 | 505 页 | 878.66 KB | 1 年前3
 Celery 2.3 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" AMQP backend settings0 码力 | 530 页 | 900.64 KB | 1 年前3 Celery 2.3 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" AMQP backend settings0 码力 | 530 页 | 900.64 KB | 1 年前3
 Celery 2.1 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" 3.2.4 AMQP backend0 码力 | 285 页 | 1.19 MB | 1 年前3 Celery 2.1 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" 3.2.4 AMQP backend0 码力 | 285 页 | 1.19 MB | 1 年前3
 Celery 2.4 Documentationdjkombu to INSTALLED_APPS: INSTALLED_APPS = ("djkombu", ) 3. Verify your database settings: DATABASE_ENGINE = "mysql" DATABASE_NAME = "mydb" DATABASE_USER = "myuser" DATABASE_PASSWORD = "secret" The above the Django database settings reference: http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine 1. Sync your database schema: $ python manage.py syncdb Limitations The Django database transport making sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility0 码力 | 543 页 | 957.42 KB | 1 年前3 Celery 2.4 Documentationdjkombu to INSTALLED_APPS: INSTALLED_APPS = ("djkombu", ) 3. Verify your database settings: DATABASE_ENGINE = "mysql" DATABASE_NAME = "mydb" DATABASE_USER = "myuser" DATABASE_PASSWORD = "secret" The above the Django database settings reference: http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine 1. Sync your database schema: $ python manage.py syncdb Limitations The Django database transport making sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility0 码力 | 543 页 | 957.42 KB | 1 年前3
 Celery 2.0 Documentationadditional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} 3.4.1 Redis/Database as the messaging queue. 65 Celery Documentation, Release 2.0.3 (stable) DATABASE_ENGINE = "mysql" DATABASE_NAME = "mydb" DATABASE_USER = "myuser" DATABASE_PASSWORD = "secret" The above the Django database settings reference: http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine 1. Sync your database schema. When using Django: $ python manage.py syncdb Important notes These0 码力 | 165 页 | 492.43 KB | 1 年前3 Celery 2.0 Documentationadditional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} 3.4.1 Redis/Database as the messaging queue. 65 Celery Documentation, Release 2.0.3 (stable) DATABASE_ENGINE = "mysql" DATABASE_NAME = "mydb" DATABASE_USER = "myuser" DATABASE_PASSWORD = "secret" The above the Django database settings reference: http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine 1. Sync your database schema. When using Django: $ python manage.py syncdb Important notes These0 码力 | 165 页 | 492.43 KB | 1 年前3
 Celery 2.3 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" 3.2.4 AMQP backend0 码力 | 334 页 | 1.25 MB | 1 年前3 Celery 2.3 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" 3.2.4 AMQP backend0 码力 | 334 页 | 1.25 MB | 1 年前3
 Celery 2.2 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" 3.2.4 AMQP backend0 码力 | 314 页 | 1.26 MB | 1 年前3 Celery 2.2 Documentationmaking sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility information about connection strings. CELERY_RESULT_ENGINE_OPTIONS To specify additional SQLAlchemy database engine options you can use the CELERY_RESULT_ENGINE_OPTIONS setting: # echo enables verbose logging logging from SQLAlchemy. CELERY_RESULT_ENGINE_OPTIONS = {"echo": True} Example configuration CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = "mysql://user:password@host/dbname" 3.2.4 AMQP backend0 码力 | 314 页 | 1.26 MB | 1 年前3
 Celery 2.4 Documentationdjkombu to INSTALLED_APPS: INSTALLED_APPS = ("djkombu", ) 3. Verify your database settings: DATABASE_ENGINE = "mysql" DATABASE_NAME = "mydb" DATABASE_USER = "myuser" DATABASE_PASSWORD = "secret" The above the Django database settings reference: http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine 10 Chapter 1. Getting Started Celery Documentation, Release 2.4.7 1. Sync your database schema: making sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility0 码力 | 395 页 | 1.54 MB | 1 年前3 Celery 2.4 Documentationdjkombu to INSTALLED_APPS: INSTALLED_APPS = ("djkombu", ) 3. Verify your database settings: DATABASE_ENGINE = "mysql" DATABASE_NAME = "mydb" DATABASE_USER = "myuser" DATABASE_PASSWORD = "secret" The above the Django database settings reference: http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine 10 Chapter 1. Getting Started Celery Documentation, Release 2.4.7 1. Sync your database schema: making sure the world is how it should be; If you have a task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility0 码力 | 395 页 | 1.54 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6














