aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/celery_setup/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Move mediagoblin.celery_setup -> mediagoblin.init.celeryElrond2011-07-021-89/+0
| | | | | | As the first target of the new .init. submodule move celery_setup there. Quite straight forward, just a lot of places to change.
* Celery wasn't really being properly connected during tests.Christopher Allan Webber2011-06-261-4/+0
| | | | | | | | | | | | | | | Lots of fixes to do this. - setup_celery_from_config no longer responsible for checking 'celery_setup_elsewhere'; that's the app's job. (This was a problem because more than the app was relying on using this function) - Allow us to specifically set the config file we're setting up celery from with setup_self - Set up celery_always_eager. This is something we strongly want while doing tests. - Instead of setting up the app in the get_test_app method, let's set that up simply by importing from_tests, which should itself up via from_celery being the environment variable being set.
* Removing "paste config" phrasing where we're no longer using paste's configChristopher Allan Webber2011-06-191-3/+3
|
* Removing option to set celery config section.Christopher Allan Webber2011-06-181-3/+3
| | | | | There's no real reason to support setting the celery config section; so we'll just make it always ['celery'].
* Removing type conversions from setup_celery_from_config.Christopher Allan Webber2011-06-181-64/+5
| | | | | | | These simply aren't needed any more, not now that the config validator stuff does type conversion for us. Also fixed the docstring to explain force_celery_always_eager.
* Propagate Exceptions up in Celery-Eager-ModeElrond2011-06-031-0/+1
| | | | | | | | When running in celery-eager mode, the celery machinery hides all exceptions inside "celery tasks" (you can find out about them on the task handle somehow). Currently much better to propagate them straight up, so they're visible on the console.
* Now you can set CELERY_ALWAYS_EAGER environment variable so that youChristopher Allan Webber2011-05-201-0/+5
| | | | | | don't have to run celeryd at the same time. This should make Elrond happy ;)
* Force imports of stuff like mediagoblin.process_media which has tasks we needChristopher Allan Webber2011-05-031-0/+6
|
* tests for setup_celery_from_config()Christopher Allan Webber2011-04-301-1/+1
|
* A few more corrections to make setup_celery_from_config() work rightChristopher Allan Webber2011-04-301-7/+13
|
* Import based on the DEFAULT_SETTINGS_MODULE in setup_celery_from_configChristopher Allan Webber2011-04-301-6/+19
|
* setup_celery_from_config tool. Haven't tried if it works, but looks right...Christopher Allan Webber2011-04-241-0/+121