mirror of
				https://github.com/proxiodev/RedisBungee.git
				synced 2025-10-30 23:38:02 +00:00 
			
		
		
		
	Add a warning to run RedisBungeeClean if the UUID cache exceeds 750,000 entries.
While a large UUID cache will not harm RedisBungee functionality, it can be problematic in some setups, so err on the side of caution.
This commit is contained in:
		
							parent
							
								
									90612fa98a
								
							
						
					
					
						commit
						59cb27d342
					
				| @ -262,6 +262,11 @@ public final class RedisBungee extends Plugin { | |||||||
|                         break; |                         break; | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|  | 
 | ||||||
|  |                 long uuidCacheSize = tmpRsc.hlen("uuid-cache"); | ||||||
|  |                 if (uuidCacheSize > 750000) { | ||||||
|  |                     getLogger().info("Looks like you have a really big UUID cache! Run https://www.spigotmc.org/resources/redisbungeecleaner.8505/ as soon as possible."); | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|             serverIds = getCurrentServerIds(); |             serverIds = getCurrentServerIds(); | ||||||
|             uuidTranslator = new UUIDTranslator(this); |             uuidTranslator = new UUIDTranslator(this); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Tux
						Tux