1
0

Accepting request 986328 from home:gladiac:mailman3

- Fix django warning that timeout is bigger than retry
  * Added hyperkitty-fix-qcluster-timeout.patch

OBS-URL: https://build.opensuse.org/request/show/986328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=54
This commit is contained in:
Andreas Schneider
2022-07-02 07:10:08 +00:00
committed by Git OBS Bridge
parent 0c5be80971
commit bf1e8fe2ee
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
From 3edc0c58b8dea3b0bdccd77c0794ada28d1c6f61 Mon Sep 17 00:00:00 2001
From: Mark Sapiro <mark@msapiro.net>
Date: Sun, 5 Dec 2021 00:32:33 +0000
Subject: [PATCH] Set Q_CLUSTER retry > timeout.
---
example_project/settings.py | 1 +
1 files changed, 1 insertions(+)
diff --git a/example_project/settings.py b/example_project/settings.py
index a6e90441..5aca0186 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -368,6 +368,7 @@ REST_FRAMEWORK = {
#
Q_CLUSTER = {
'timeout': 300,
+ 'retry': 360,
'save_limit': 100,
'orm': 'default',
}
--
GitLab

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jul 2 06:12:09 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>
- Fix django warning that timeout is bigger than retry
* Added hyperkitty-fix-qcluster-timeout.patch
-------------------------------------------------------------------
Fri Jun 10 08:14:18 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -63,6 +63,8 @@ Patch1: hyperkitty-fix-mistune-2.0-imports.patch
Patch2: hyperkitty-django4.patch
# https://gitlab.com/mailman/hyperkitty/-/issues/429
Patch3: python-HyperKitty-no-mock.patch
# https://gitlab.com/mailman/hyperkitty/-/commit/3edc0c58b8dea3b0bdccd77c0794ada28d1c6f61
Patch4: hyperkitty-fix-qcluster-timeout.patch
#
BuildRequires: %{python_module django-debug-toolbar >= 2.2}
BuildRequires: %{python_module isort}
@@ -162,6 +164,7 @@ rsync -a example_project/* build_static_files
%patch0 -p1
%patch1 -p1
%patch3 -p1
%patch4 -p1
%build
sed -i 's|^#!/usr/bin/env.*|#!%{_bindir}/python3|' \