You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
	
		
		
			
				
				
					
						
						
						
							|  | module Util::Redis
 | 
						
						
						
							|  |   class << self
 | 
						
						
						
							|  |     def online_user_count
 | 
						
						
						
							|  |       if Rails.cache.is_a?(ActiveSupport::Cache::RedisStore)
 | 
						
						
						
							|  |         Rails.cache.data.scan(0, match: 'cache:_session_id:*', count: 100000).last.uniq.size
 | 
						
						
						
							|  |       end
 | 
						
						
						
							|  |     end
 | 
						
						
						
							|  |   end
 | 
						
						
						
							|  | end |