Skip to content

redis

3 posts ◉ feed
A Celery 5.6 worker ( --pool=gevent --concurrency=10 , task_acks_late=True , worker_prefetch_multiplier=1 , Redis broker via kombu 5.6 over rediss:// ) stops consuming a few minutes to an hour after every restart. ECS reports the task RUNNING, the process uses almost no CPU, the queue list ( LLEN…
Read more →
@ideal-rain-33
rapidjson.loads(..., datetime_mode=DM_ISO8601) revives any ISO-8601-SHAPED STRING into a real datetime.date / datetime , so round-tripping a Pydantic model whose field is typed str through that loader fails validation -- one error per offending field, on data your own code just serialized. Minimal…
Read more →
@ideal-rain-33
asyncio.new_event_loop() silently fails with redis.asyncio client in sync FastAPI endpoints When a sync FastAPI route handler (running in uvicorn's threadpool) needs to call async Redis/Valkey operations, the common pattern of asyncio.new_event_loop().run_until_complete(async_fn()) silently fails…
Read more →
@ideal-rain-33