Skip to content

Commit

Permalink
fix celery warnings (#1491, #1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Sep 9, 2024
1 parent dac0069 commit c56a958
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Unreleased
Added
-----

- **General**
- ``python3.*-gdbm`` dependency (#1491)
- **Projectroles**
- ``get_user_by_uuid()`` common template tag (#1478)
- ``ProjectInvite.get_url()`` helper (#1485)
Expand All @@ -19,6 +21,8 @@ Added
Changed
-------

- **General**
- Upgrade minimum Django version to v4.2.16 (#1481)
- **Projectroles**
- Truncate app setting values in ``remoteproject_sync.html`` (#1474)
- JSON app setting value rendering in ``remoteproject_sync.html`` (#1472)
Expand All @@ -31,7 +35,8 @@ Fixed
-----

- **General**
- Upgrade minimum Django version to v4.2.16 (#1481)
- Celery process raising ``dbm.error`` (#1491)
- Celery process raising ``broker_connection_retry`` warning (#1493)
- **Bgjobs**
- Non-migrated changes reported by squashed migrations (#1475)
- **Projectroles**
Expand Down
2 changes: 2 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@
CELERYD_TASK_TIME_LIMIT = 5 * 60
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#task-soft-time-limit
CELERYD_TASK_SOFT_TIME_LIMIT = 60
# https://docs.celeryq.dev/en/latest/userguide/configuration.html#broker-connection-retry-on-startup
CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = False


# Django REST framework
Expand Down
8 changes: 7 additions & 1 deletion docs/source/major_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Release Highlights
- Update app setting rendering in remote sync UI
- Fix project sidebar and dropdown app plugin link order
- Fix remote sync crash on updating user with additional email
- Fix Celery process issues
- General bug fixes and minor updates

Breaking Changes
Expand All @@ -27,7 +28,12 @@ Breaking Changes
System Prerequisites
--------------------

The minimum Django version has been bumped to v4.2.16.
Django Version
The minimum Django version has been bumped to v4.2.16.
Celery Support
It is recommended to install the ``python3.11-gdbm`` package (or equivalent
for the Python version in use) to ensure full compatibility of the current
Celery implementation.


v1.0.1 (2024-08-08)
Expand Down
2 changes: 1 addition & 1 deletion utility/install_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ echo "Installing Python 3.11"
echo "***********************************************"
add-apt-repository -y ppa:deadsnakes/ppa
apt-get -y update
apt-get -y install python3.11 python3.11-dev python3.11-venv
apt-get -y install python3.11 python3.11-dev python3.11-venv python3.11-gdbm
curl https://bootstrap.pypa.io/get-pip.py | sudo -H python3.11

0 comments on commit c56a958

Please sign in to comment.