no message
							parent
							
								
									9b692314cf
								
							
						
					
					
						commit
						1d75648d5b
					
				| 
						 | 
					@ -0,0 +1,21 @@
 | 
				
			||||||
 | 
					修改redis 存储规则
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					修改配置文件redis.windows-service.conf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					appendfsync always      //每次修改写入都同步到磁盘/最慢,也最安全
 | 
				
			||||||
 | 
					# appendfsync everysec  //每秒同步一次
 | 
				
			||||||
 | 
					# appendfsync no        //系统自动同步  速度最快
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					启动redis 改用命令启用
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					redis-server.exe redis.windows-service.conf
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue