!19 loghandlers is list of Handler not StreamHandler
From: @Bolehu Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
c7b74afaf3
@ -0,0 +1,34 @@
|
|||||||
|
From 12ebcf87c858ede721572a6db3fe63bb3addddbf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ask Solem <asksol@robinhood.com>
|
||||||
|
Date: Fri, 16 Nov 2018 09:52:22 -0800
|
||||||
|
Subject: [PATCH] loghandlers is list of Handler not StreamHandler
|
||||||
|
|
||||||
|
---
|
||||||
|
faust/types/settings.py | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/faust/types/settings.py b/faust/types/settings.py
|
||||||
|
index fc2e15e1..0fb0aff8 100644
|
||||||
|
--- a/faust/types/settings.py
|
||||||
|
+++ b/faust/types/settings.py
|
||||||
|
@@ -265,7 +265,7 @@ class Settings(abc.ABC):
|
||||||
|
table_standby_replicas: int = 1
|
||||||
|
topic_replication_factor: int = 1
|
||||||
|
topic_partitions: int = 8 # noqa: E704
|
||||||
|
- loghandlers: List[logging.StreamHandler]
|
||||||
|
+ loghandlers: List[logging.Handler]
|
||||||
|
producer_linger_ms: int = PRODUCER_LINGER_MS
|
||||||
|
producer_max_batch_size: int = PRODUCER_MAX_BATCH_SIZE
|
||||||
|
producer_acks: int = PRODUCER_ACKS
|
||||||
|
@@ -366,7 +366,7 @@ class Settings(abc.ABC):
|
||||||
|
tabledir: Union[Path, str] = None,
|
||||||
|
key_serializer: CodecArg = None,
|
||||||
|
value_serializer: CodecArg = None,
|
||||||
|
- loghandlers: List[logging.StreamHandler] = None,
|
||||||
|
+ loghandlers: List[logging.Handler] = None,
|
||||||
|
table_cleanup_interval: Seconds = None,
|
||||||
|
table_standby_replicas: int = None,
|
||||||
|
topic_replication_factor: int = None,
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,13 +1,14 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-faust
|
Name: python-faust
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Python Stream processing.
|
Summary: Python Stream processing.
|
||||||
License: BSD 3-Clause and CC-BY-SA-4.0
|
License: BSD 3-Clause and CC-BY-SA-4.0
|
||||||
URL: http://faust.readthedocs.io/
|
URL: http://faust.readthedocs.io/
|
||||||
Source0: https://files.pythonhosted.org/packages/91/c3/75878084aba2bbcf680b0c57f00b9586b0b9d84a74695260b489666e579b/faust-1.3.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/91/c3/75878084aba2bbcf680b0c57f00b9586b0b9d84a74695260b489666e579b/faust-1.3.0.tar.gz
|
||||||
|
|
||||||
Patch0001: backport-Fixes-missing-await-in-consumer.wait_empty.patch
|
Patch0001: backport-Fixes-missing-await-in-consumer.wait_empty.patch
|
||||||
|
Patch0002: backport-loghandlers-is-list-of-Handler-not-StreamHandler.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
@ -80,6 +81,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 9 2023 Bolehu <heyaohua@xfusion.com> - 1.3.0-4
|
||||||
|
- loghandlers is list of Handler not StreamHandler
|
||||||
|
|
||||||
* Sat Jan 7 2023 Bolehu <heyaohua@xfusion.com> - 1.3.0-3
|
* Sat Jan 7 2023 Bolehu <heyaohua@xfusion.com> - 1.3.0-3
|
||||||
- Fixes missing await in consumer.wait_empty
|
- Fixes missing await in consumer.wait_empty
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user