2
0
Эх сурвалжийг харах

pipelimit: run timer at 1000ms

- proper execution on timer_interval
- reported by Julia <[email protected]>
Daniel-Constantin Mierla 11 жил өмнө
parent
commit
f9d95734ba

+ 1 - 1
modules/pipelimit/pipelimit.c

@@ -308,7 +308,7 @@ static int mod_init(void)
 		return -1;
 		return -1;
 	}
 	}
 	timer_init(pl_timer, pl_timer_handle, 0, F_TIMER_FAST);
 	timer_init(pl_timer, pl_timer_handle, 0, F_TIMER_FAST);
-	timer_add(pl_timer, MS_TO_TICKS(1500)); /* Start it after 1500ms */
+	timer_add(pl_timer, MS_TO_TICKS(1000)); /* Start it after 1000ms */
 
 
 	/* bind the SL API */
 	/* bind the SL API */
 	if (sl_load_api(&slb)!=0) {
 	if (sl_load_api(&slb)!=0) {