diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sync-alarm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sync-alarm.c b/src/sync-alarm.c index f7a1536..66727e7 100644 --- a/src/sync-alarm.c +++ b/src/sync-alarm.c @@ -57,7 +57,9 @@ static void cache_alarm_add(struct us_conntrack *u, void *data) static void cache_alarm_update(struct us_conntrack *u, void *data) { struct alarm_list *alarm = data; - add_alarm(alarm, random() % CONFIG(refresh) + 1, random() % 999999 + 1); + add_alarm(alarm, + random() % CONFIG(refresh) + 1, + ((random() % 5 + 1) * 200000) - 1); } static void cache_alarm_destroy(struct us_conntrack *u, void *data) |