1
0
Fork 0
bookwyrm/bookwyrm/models
Wesley Aptekar-Cassels 9cbff312a5 Ignore Celery task results
Since we don't use the results of our Celery tasks (all of them return
None implicitly), it's prudent to set the ignore_result flag, for a
potential performance improvement. See the Celery docs for details [1].

We could do this with the global CELERY_IGNORE_RESULT setting, but it
offers more flexibility if we want to use task results in the future to
set it on a per-task basis.

[1]: https://docs.celeryq.dev/en/stable/userguide/tasks.html#ignore-results-you-don-t-want
2023-03-08 02:12:13 -05:00
..
__init__.py Moves annual goal to its own file 2022-07-29 13:00:59 -07:00
activitypub_mixin.py Ignore Celery task results 2023-03-08 02:12:13 -05:00
announcement.py Removes hardcoded white in announcements 2022-03-01 11:06:15 -08:00
annual_goal.py Minor performance improvements 2023-01-27 20:24:53 +01:00
antispam.py Ignore Celery task results 2023-03-08 02:12:13 -05:00
attachment.py New version of black, new whitespace 2021-04-26 09:15:42 -07:00
author.py Here we go again! 2023-01-15 09:41:39 +01:00
base_model.py Allow users to temporarily deactivate their accounts (#2324) 2022-11-10 13:40:54 -08:00
book.py Revert "Add Website field to author" 2023-01-11 19:21:40 -08:00
connector.py Merge branch 'main' into search-refactor 2021-09-30 10:41:30 -07:00
favorite.py Move notifications to signals 2021-09-22 09:24:39 -07:00
federated_server.py Use readable/translatable strings for db choices 2021-09-11 14:23:47 -07:00
fields.py Fixes pylint complaints 2023-02-20 12:24:53 -08:00
group.py Use signal for creating group invite notification 2022-07-04 20:24:29 -07:00
import_job.py Ignore Celery task results 2023-03-08 02:12:13 -05:00
link.py Fixes errors in permissions 2022-07-07 14:01:51 -07:00
list.py Consistent use of plurals 2022-07-05 14:49:04 -07:00
notification.py Create notifications for link domains that need approval 2023-02-22 10:20:07 -08:00
readthrough.py Minor performance improvements 2023-01-27 20:24:53 +01:00
relationship.py Avoid unnecessary errors when a remote re-sends an Accept 2023-02-20 11:09:42 -08:00
report.py Adds permissions checking for admin models 2022-09-19 10:12:47 -07:00
shelf.py Minor performance improvements 2023-01-27 20:24:53 +01:00
site.py Fix SiteSettings.default_user_auth_group FK on_delete value 2023-02-18 19:33:25 +01:00
status.py Merge branch 'main' into page-range 2023-02-06 14:02:05 +01:00
user.py Ignore Celery task results 2023-03-08 02:12:13 -05:00