Merge pull request #542 from bebehei/hotfix1
Wakeup also for infinite notifs when set show_age_threshold
This commit is contained in:
		
						commit
						e5dd80b9db
					
				| @ -410,7 +410,7 @@ gint64 queues_get_next_datachange(gint64 time) | |||||||
|                         if (age > settings.show_age_threshold) |                         if (age > settings.show_age_threshold) | ||||||
|                                 // sleep exactly until the next shift of the second happens
 |                                 // sleep exactly until the next shift of the second happens
 | ||||||
|                                 sleep = MIN(sleep, ((G_USEC_PER_SEC) - (age % (G_USEC_PER_SEC)))); |                                 sleep = MIN(sleep, ((G_USEC_PER_SEC) - (age % (G_USEC_PER_SEC)))); | ||||||
|                         else if (ttl > settings.show_age_threshold) |                         else if (n->timeout == 0 || ttl > settings.show_age_threshold) | ||||||
|                                 sleep = MIN(sleep, settings.show_age_threshold); |                                 sleep = MIN(sleep, settings.show_age_threshold); | ||||||
|                 } |                 } | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis