Opened 13 years ago

Last modified 13 years ago

#67 closed defect (FIXED)

global config doesn't get copied into setup_celery_from_config from paste factory

Reported by: Christopher Allan Webber Owned by: Christopher Allan Webber
Priority: minor Milestone: 0.0.3
Component: programming Keywords:
Cc: Parent Tickets:

Description

Even if you add values to the [celery] section in your
mediagoblin.ini they don't get passed in to the celery config
system because that section of the config file isn't passed into
the paste factory, and thus isn't passed along correctly either.

::

    def setup_celery_from_config(app_config, global_config,
                                 settings_module=DEFAULT_SETTINGS_MODULE,
                                 set_environ=True):

We'll have to probably use the generic config parser from
`http://bugs.foocorp.net/issues/297 <http://bugs.foocorp.net/issues/297>`_
and pass it into this function.

This matters in case users have any sort of custom parameters they
want to pass into mediagoblin.ini (such as CELERY\_ALWAYS\_EAGER =
True)



Change History (3)

comment:1 by Christopher Allan Webber, 13 years ago

Status: NewClosed
This is resolved via the new ConfigObj branch.



comment:2 by Elrond, 13 years ago

Component: Programming
Milestone: 0.0.3
Wasn't targetted at 0.0.3, but it's now in that version, so
change.



comment:3 by Will Kahn-Greene, 13 years ago

The original url for this bug was http://bugs.foocorp.net/issues/344 .

Note: See TracTickets for help on using tickets.