It is suggested in the docs that if anything non-async is done in the consumer, we should use sync consumers. Same principle applies here, or is it ok to do sync stuff in a middleware as it is done only on session initializaiton?
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b25ed3aa-4c7c-43a6-9156-3ada4ec23b20n%40googlegroups.com.
No comments:
Post a Comment