<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_success(self, retval, task_id, args, kwargs):
 """ Store results in the backend even if we're always eager. This ensures the `delay_or_run` calls always at least have results. """

        if self.request.is_eager:
            # Store the result because celery wouldn't otherwise
            self.update_state(task_id, SUCCESS, retval)