You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			14 lines
		
	
	
		
			519 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			14 lines
		
	
	
		
			519 B
		
	
	
	
		
			TypeScript
		
	
| import { NumberUtils } from './utils';
 | |
| 
 | |
| // Default TTL
 | |
| export const TTL_DEFAULT = {
 | |
|   PAIRING_REQUEST: NumberUtils.timeAsMs(2, 'minutes'),
 | |
|   DEVICE_UNPAIRING: NumberUtils.timeAsMs(4, 'days'),
 | |
|   SESSION_REQUEST: NumberUtils.timeAsMs(4, 'days'),
 | |
|   SESSION_ESTABLISHED: NumberUtils.timeAsMs(2, 'days'),
 | |
|   END_SESSION_MESSAGE: NumberUtils.timeAsMs(4, 'days'),
 | |
|   TYPING_MESSAGE: NumberUtils.timeAsMs(1, 'minute'),
 | |
|   ONLINE_BROADCAST: NumberUtils.timeAsMs(1, 'minute'),
 | |
|   REGULAR_MESSAGE: NumberUtils.timeAsMs(2, 'days'),
 | |
| };
 |