maleo-foundation 0.3.35__py3-none-any.whl → 0.3.36__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.
@@ -160,9 +160,9 @@ class ServiceManager:
160
160
  async for key in self._redis.scan_iter(f"{prefix}*"):
161
161
  await self._redis.delete(key)
162
162
 
163
- def check_redis_connection(self) -> bool:
163
+ async def check_redis_connection(self) -> bool:
164
164
  try:
165
- self._redis.ping()
165
+ await self._redis.ping()
166
166
  self._loggers.application.info("Redis connection check successful.")
167
167
  return True
168
168
  except RedisError as e:
@@ -178,7 +178,7 @@ class ServiceManager:
178
178
  decode_responses=self.configurations.cache.redis.decode_responses,
179
179
  health_check_interval=self.configurations.cache.redis.health_check_interval
180
180
  )
181
- self.check_redis_connection()
181
+ await self.check_redis_connection()
182
182
  self._cache = CacheManagers(redis=self._redis)
183
183
  await self._clear_cache()
184
184
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.3.35
3
+ Version: 0.3.36
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -37,7 +37,7 @@ maleo_foundation/managers/configuration.py,sha256=Jcm2A_fS-styLEWZurF7nquitnSYuc
37
37
  maleo_foundation/managers/credential.py,sha256=i1w9bVozf7FYG8NGfLgJYRdLWBQBf35yyzVOEDgdXSA,3108
38
38
  maleo_foundation/managers/db.py,sha256=y5oP3bTXKeXYKqng-E_HZ-3wC0ZPtl5bls0AEEej6zM,6050
39
39
  maleo_foundation/managers/middleware.py,sha256=ecTNloglV67xoC_hqIEMIxhfQwzXRKHLI3ThJdd-lbY,2480
40
- maleo_foundation/managers/service.py,sha256=9q9b1aFThZY5bSpnOpzoIylBD4Aqqobt7CuStpBH3Uo,11518
40
+ maleo_foundation/managers/service.py,sha256=jwM6SvsJAaR5pJzIX0KEUOA61VQwJ88P3D8uzIJjd84,11536
41
41
  maleo_foundation/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  maleo_foundation/managers/client/base.py,sha256=o4D_y52Zxl-jOtV59o6ZCJOuS6rlUy7e2x3vs7vB5tk,4314
43
43
  maleo_foundation/managers/client/maleo.py,sha256=fhIXKeIjx0VgS8wjX0Cpk05ZHHRiPvmpUQl0890mZxw,2686
@@ -133,7 +133,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
133
133
  maleo_foundation/utils/loaders/credential/google.py,sha256=ZglnLdW3lHmaKER4mwGe5N5ERus-bdsamfpwGmQYPIo,6344
134
134
  maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
135
135
  maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
136
- maleo_foundation-0.3.35.dist-info/METADATA,sha256=jX3qiHqUT0ViZgcRLUtyRX7GMvn0hc7dWeSttEt0DWA,3740
137
- maleo_foundation-0.3.35.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
138
- maleo_foundation-0.3.35.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
139
- maleo_foundation-0.3.35.dist-info/RECORD,,
136
+ maleo_foundation-0.3.36.dist-info/METADATA,sha256=xHL7Wo47tYM9bzU-Ii0LsLHC6uLBoUdF89skZ6zJEU8,3740
137
+ maleo_foundation-0.3.36.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
138
+ maleo_foundation-0.3.36.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
139
+ maleo_foundation-0.3.36.dist-info/RECORD,,