redis org.springframework.data.redis.RedisSystemException: Error in execution

Background When running a certain system, the test class stores a certain value into redis and then takes it out. 1. Problems encountered Error reported: org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify […]

Ubuntu vscode detailed installation and cmake configuration, git push and pull, shortcuts

Ubuntu vscode installation and cmake configuration detailed operations Install vscode https://blog.csdn.net/zhaomengszu/article/details/112261258 Solution to the slow or failed download of VSCode official website_vscode cannot be downloaded_Who knows this kid’s blog-CSDN blog 1. The official website may fail to download due to network problems. You can use the above method to download 2. First go to the […]

springMVC execution process and working principle

SpringMVC execution process: 1. The user sends a request to the front-end controller DispatcherServlet 2. DispatcherServlet receives the request and calls the processor mapper HandlerMapping. 3. The processor mapper finds the specific processor according to the request URL, generates the processor execution chain HandlerExecutionChain (including the processor object and processor interceptor) and returns it to […]

Create a web desktop shortcut with UOS_Kirin KYLINOS

Original link: UOS/KylinOS creates web desktop shortcuts Hello, everyone. Today I bring you an article about using the command line to create a web desktop shortcut on Unison UOS/KylinOS. It is mainly used when building cloud desktop templates and mirror templates. You are welcome to browse, share and forward. . Follow me! 1. View system […]

Java thread pool – Executor framework

Article directory 1. Executor interface 2. ExecutorService interface 3. ThreadPoolExecutor class 1. Status 2. Worker 3. Extension 4. ForkJoinPool class 1. Work stealing algorithm 2. Fork/Join design 3. Execution principle 5. ScheduledThreadPool class 1.ScheduledExecutorService 2. Compare Timer 6. Executors class The Executor framework was introduced after Java 5. After Java 5, starting threads through Executor […]

Python + AI: perfect cutout, change background

Looking through the old photos at home, I found a little dog. It’s very interesting, with its wide eyes~ (the background is in the kitchen). Sometimes you want to cut out the characters or protagonists in certain photos and paste them into your favorite background image. For example, you want to make a DIY avatar […]

Spring’s own thread pool ThreadPoolTaskExecutor

Spring default thread pool simpleAsyncTaskExecutor The interface class of Spring asynchronous thread pool is TaskExecutor, which is essentially java.util.concurrent.Executor. If there is no configuration, simpleAsyncTaskExecutor is used by default. @Async demonstrates Spring’s default simpleAsyncTaskExecutor @Component @EnableAsync public class ScheduleTask {<!– –> SimpleDateFormat sdf = new SimpleDateFormat(“yyyy-MM-dd HH:mm:ss”); @Async @Scheduled(fixedRate = 2000) public void testScheduleTask() {<!– […]