{"action":"closed","issue":{"url":"https://api.github.com/repos/celery/celery/issues/2614","repository_url":"https://api.github.com/repos/celery/celery","labels_url":"https://api.github.com/repos/celery/celery/issues/2614/labels{/name}","comments_url":"https://api.github.com/repos/celery/celery/issues/2614/comments","events_url":"https://api.github.com/repos/celery/celery/issues/2614/events","html_url":"https://github.com/celery/celery/issues/2614","id":75660563,"number":2614,"title":"force_execv causes fixups to run twice on workers.","user":{"login":"kevinchevalier","id":1755349,"avatar_url":"https://avatars.githubusercontent.com/u/1755349?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinchevalier","html_url":"https://github.com/kevinchevalier","followers_url":"https://api.github.com/users/kevinchevalier/followers","following_url":"https://api.github.com/users/kevinchevalier/following{/other_user}","gists_url":"https://api.github.com/users/kevinchevalier/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinchevalier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinchevalier/subscriptions","organizations_url":"https://api.github.com/users/kevinchevalier/orgs","repos_url":"https://api.github.com/users/kevinchevalier/repos","events_url":"https://api.github.com/users/kevinchevalier/events{/privacy}","received_events_url":"https://api.github.com/users/kevinchevalier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/celery/celery/labels/Component:%20Django","name":"Component: Django","color":"ededed"},{"url":"https://api.github.com/repos/celery/celery/labels/Issue%20Type:%20Bug","name":"Issue Type: Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-05-12T16:32:32Z","updated_at":"2016-06-24T00:10:39Z","closed_at":"2016-06-24T00:10:39Z","body":"If force_execv is set, then fixups are run twice on worker subprocesses.\r\n\r\nThey are run once when the App is read from the parent process and unpickled.   https://github.com/celery/celery/blob/master/celery/app/base.py#L189\r\n\r\nIt is then run again when the worker process is _bootstrapped.  The App is created from the config, and the fixup is run again.  Normally this is during an import of a file that defines the app, like celery_setup.py.\r\n\r\nIf the fixup attaches to signals, like DjangoFixup, then two listeners are attached to the signal, from the same fixup.\r\n\r\n"}}
{"actor":{"display_login":"ask"}}