skip to Main Content

Postgresql – Disabling cache in asyncpg

I want to disable cache in asyncpg+postgresql to get timely results from the database and not outdated ones. However, I encounter an issue that doesn't allow me to do so: RuntimeWarning: coroutine 'AsyncConnection.execution_options' was never awaited async with engine.connect().execution_options(compiled_cache=None) RuntimeWarning:…

VIEW QUESTION

Unable to get collection from Redis cache

We are using Redis cache for storing data in cache in our application. We are directly using @Cacheable to allow caching and using redis underneath to cache. Below is the config Redis Config - @Configuration @EnableCaching @RequiredArgsConstructor public class RedisConfig…

VIEW QUESTION
Back To Top
Search