mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-7066 FS-7253 FS-7231 #this part should be right
This commit is contained in:
parent
68db163aad
commit
b320c525c2
@ -416,7 +416,7 @@ static switch_status_t timerfd_start_interval(interval_timer_t *it, int interval
|
||||
val.it_interval.tv_sec = interval / 1000;
|
||||
val.it_interval.tv_nsec = (interval % 1000) * 1000000;
|
||||
val.it_value.tv_sec = 0;
|
||||
val.it_value.tv_nsec = 100000;
|
||||
val.it_value.tv_nsec = val.it_interval.tv_nsec;
|
||||
|
||||
if (timerfd_settime(fd, TFD_TIMER_ABSTIME, &val, NULL) < 0) {
|
||||
close(fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user