jararaca 0.3.11a6__py3-none-any.whl → 0.3.11a7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of jararaca might be problematic. Click here for more details.

jararaca/cli.py CHANGED
@@ -82,8 +82,6 @@ async def declare_worker_infrastructure(
82
82
  connection = await aio_pika.connect(url)
83
83
  channel = await connection.channel()
84
84
 
85
- await channel.set_qos(prefetch_count=1)
86
-
87
85
  # Declare main exchange
88
86
  main_ex = await RabbitmqUtils.declare_main_exchange(
89
87
  channel=channel,
@@ -159,8 +157,6 @@ async def declare_worker_v2_infrastructure(
159
157
  connection = await aio_pika.connect(broker_url)
160
158
  channel = await connection.channel()
161
159
 
162
- await channel.set_qos(prefetch_count=1)
163
-
164
160
  # Declare main exchange
165
161
  await RabbitmqUtils.declare_main_exchange(
166
162
  channel=channel,
@@ -249,8 +245,6 @@ async def declare_scheduler_v2_infrastructure(
249
245
  connection = await aio_pika.connect(broker_url)
250
246
  channel = await connection.channel()
251
247
 
252
- await channel.set_qos(prefetch_count=1)
253
-
254
248
  # Declare exchange for scheduler
255
249
  await channel.declare_exchange(
256
250
  name=exchange,
@@ -179,8 +179,6 @@ class RabbitMQBrokerDispatcher(MessageBrokerDispatcher):
179
179
 
180
180
  async with self.channel_pool.acquire() as channel:
181
181
 
182
- await channel.set_qos(prefetch_count=1)
183
-
184
182
  await channel.declare_exchange(
185
183
  name=self.exchange,
186
184
  type="topic",
@@ -13,7 +13,7 @@ class RabbitmqUtils:
13
13
  """
14
14
  Declare a Dead Letter Exchange (DLX) for the given channel.
15
15
  """
16
- await channel.set_qos(prefetch_count=1)
16
+
17
17
  return await channel.declare_exchange(
18
18
  cls.DEAD_LETTER_EXCHANGE,
19
19
  passive=passive,
@@ -29,7 +29,7 @@ class RabbitmqUtils:
29
29
  """
30
30
  Declare a Dead Letter Queue (DLQ) for the given queue.
31
31
  """
32
- await channel.set_qos(prefetch_count=1)
32
+
33
33
  return await channel.declare_queue(
34
34
  cls.DEAD_LETTER_QUEUE,
35
35
  durable=True,
@@ -61,7 +61,7 @@ class RabbitmqUtils:
61
61
  """
62
62
  Declare a main exchange for the given channel.
63
63
  """
64
- await channel.set_qos(prefetch_count=1)
64
+
65
65
  return await channel.declare_exchange(
66
66
  exchange_name,
67
67
  passive=passive,
@@ -80,7 +80,7 @@ class RabbitmqUtils:
80
80
  """
81
81
  Declare a queue with the given name and properties.
82
82
  """
83
- await channel.set_qos(prefetch_count=1)
83
+
84
84
  return await channel.declare_queue(
85
85
  queue_name,
86
86
  passive=passive,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: jararaca
3
- Version: 0.3.11a6
3
+ Version: 0.3.11a7
4
4
  Summary: A simple and fast API framework for Python
5
5
  Author: Lucas S
6
6
  Author-email: me@luscasleo.dev
@@ -3,7 +3,7 @@ jararaca/__main__.py,sha256=-O3vsB5lHdqNFjUtoELDF81IYFtR-DSiiFMzRaiSsv4,67
3
3
  jararaca/broker_backend/__init__.py,sha256=GzEIuHR1xzgCJD4FE3harNjoaYzxHMHoEL0_clUaC-k,3528
4
4
  jararaca/broker_backend/mapper.py,sha256=vTsi7sWpNvlga1PWPFg0rCJ5joJ0cdzykkIc2Tuvenc,696
5
5
  jararaca/broker_backend/redis_broker_backend.py,sha256=a7DHchy3NAiD71Ix8SwmQOUnniu7uup-Woa4ON_4J7I,5786
6
- jararaca/cli.py,sha256=y3PhnhSdzwE-F1OTK-VJetZfxosQyDkrtiGgZgLQGD8,24707
6
+ jararaca/cli.py,sha256=YdIot8zcnRoW5_Qm4rn0Ow1kfjlgPCJwndG63vDzpaA,24572
7
7
  jararaca/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  jararaca/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  jararaca/core/providers.py,sha256=wktH84FK7c1s2wNq-fudf1uMfi3CQBR0neU2czJ_L0U,434
@@ -60,16 +60,16 @@ jararaca/rpc/http/httpx.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
60
  jararaca/scheduler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
61
  jararaca/scheduler/decorators.py,sha256=ZvOMzQT1ypU7xRLuhu6YARek1YFQ69kje2NdGjlppY8,4325
62
62
  jararaca/scheduler/scheduler.py,sha256=PjX40P09tAeD77Z0f4U1XkW782aDk_1GlUXoLaEWXe8,5446
63
- jararaca/scheduler/scheduler_v2.py,sha256=Ipwgsoirate3xwsoKD-Hd6vxZplSpYLgRulA41Xl-sA,11313
63
+ jararaca/scheduler/scheduler_v2.py,sha256=x1snb4eaCmBqjAkAvAcqSNvgpQolXqf_zTfKRBK3bIM,11260
64
64
  jararaca/scheduler/types.py,sha256=4HEQOmVIDp-BYLSzqmqSFIio1bd51WFmgFPIzPpVu04,135
65
65
  jararaca/tools/app_config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
66
  jararaca/tools/app_config/decorators.py,sha256=-ckkMZ1dswOmECdo1rFrZ15UAku--txaNXMp8fd1Ndk,941
67
67
  jararaca/tools/app_config/interceptor.py,sha256=HV8h4AxqUc_ACs5do4BSVlyxlRXzx7HqJtoVO9tfRnQ,2611
68
68
  jararaca/tools/typescript/interface_parser.py,sha256=35xbOrZDQDyTXdMrVZQ8nnFw79f28lJuLYNHAspIqi8,30492
69
69
  jararaca/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
- jararaca/utils/rabbitmq_utils.py,sha256=FPDP8ZVgvitZXV-oK73D7EIANsqUzXTW7HdpEKsIsyI,2811
71
- jararaca-0.3.11a6.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
72
- jararaca-0.3.11a6.dist-info/METADATA,sha256=o7ABpst9rZU3RW_jFGPOE6CsJViab3luBBIWvv0jFlA,4997
73
- jararaca-0.3.11a6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
74
- jararaca-0.3.11a6.dist-info/entry_points.txt,sha256=WIh3aIvz8LwUJZIDfs4EeH3VoFyCGEk7cWJurW38q0I,45
75
- jararaca-0.3.11a6.dist-info/RECORD,,
70
+ jararaca/utils/rabbitmq_utils.py,sha256=MFbXpScRxUyeZMfhB-o22PTFFF_SrU8Y09APaGYUtbo,2623
71
+ jararaca-0.3.11a7.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
72
+ jararaca-0.3.11a7.dist-info/METADATA,sha256=tNPHTsrnA-qsO31QGN1GzH5z8522sLFU2vlCrMDAe9o,4997
73
+ jararaca-0.3.11a7.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
74
+ jararaca-0.3.11a7.dist-info/entry_points.txt,sha256=WIh3aIvz8LwUJZIDfs4EeH3VoFyCGEk7cWJurW38q0I,45
75
+ jararaca-0.3.11a7.dist-info/RECORD,,