forked from MapComplete/MapComplete
		
	Laxer status policy
This commit is contained in:
		
							parent
							
								
									dbf8f32c8d
								
							
						
					
					
						commit
						9a4572cdfa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -174,7 +174,7 @@
 | 
				
			||||||
        const timediffSec = (new Date().getTime() - lastUpdate.getTime()) / 1000
 | 
					        const timediffSec = (new Date().getTime() - lastUpdate.getTime()) / 1000
 | 
				
			||||||
        const timediffDays = timediffSec / (60 * 60 * 26)
 | 
					        const timediffDays = timediffSec / (60 * 60 * 26)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (timediffDays > 7) {
 | 
					        if (timediffDays > 30) {
 | 
				
			||||||
          return "degraded"
 | 
					          return "degraded"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue