diff options
Diffstat (limited to 'src/liana')
| -rw-r--r-- | src/liana/list.c | 2 | ||||
| -rw-r--r-- | src/liana/list.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/liana/list.c b/src/liana/list.c index ca8aaa5..cccca8e 100644 --- a/src/liana/list.c +++ b/src/liana/list.c @@ -634,7 +634,7 @@ static bool handle_shuffle(struct lia_list *list) exchange a[i] and a[j] */ // Changed size - 2 to size - 1 to support 2 entry lists. - // I assume this alters the algorithm, not sure how badly. + // I assume that alters the algorithm, not sure how badly. for (u32 i = 0; i < size - 1; i++) { u32 j = i + (al_rand() % (size - i)); SWAP(al_array_at(list->entries, i), al_array_at(list->entries, j)); diff --git a/src/liana/list.h b/src/liana/list.h index 4b1ae02..86064af 100644 --- a/src/liana/list.h +++ b/src/liana/list.h @@ -7,8 +7,8 @@ #define LIANA_SEQUENCE_ANY -1 #define LIANA_TIMESTAMP_INVALID ((u64)-1) -#define LIANA_BASE_DELAY 750000Lu // 750ms -#define LIANA_BASE_PING 150000Lu // 150ms +#define LIANA_BASE_DELAY 450000Lu // 450ms +#define LIANA_BASE_PING 125000Lu // 125ms #define LIANA_PAUSE_DELAY LIANA_BASE_PING #define LIANA_DELAY_IGNORE 0Lu |