File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ public function isFairUseOfFreePushService(): bool {
305305			 * users overload our infrastructure. For this reason we have to rate-limit the 
306306			 * use of push notifications. If you need this feature, consider using Nextcloud Enterprise. 
307307			 */ 
308- 			$ isFairUse$ this subscription ->delegateHasValidSubscription () || $ this userManager ->countSeenUsers () < 500 ;
308+ 			$ isFairUse$ this subscription ->delegateHasValidSubscription () || $ this userManager ->countSeenUsers () < 1000 ;
309309			$ pushAllowed$ isFairUse'yes '  : 'no ' ;
310310			$ this cache ->set ('push_fair_use ' , $ pushAllowed3600 );
311311		}
Original file line number Diff line number Diff line change @@ -248,10 +248,10 @@ public function testGetCount(): void {
248248
249249	public  function  dataIsFairUseOfFreePushService (): array  {
250250		return  [
251- 			[true , 499 , true ],
252- 			[true , 500 , true ],
253- 			[false , 499 , true ],
254- 			[false , 500 , false ],
251+ 			[true , 999 , true ],
252+ 			[true , 1000 , true ],
253+ 			[false , 999 , true ],
254+ 			[false , 1000 , false ],
255255		];
256256	}
257257
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments