diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/aio.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/aio.c b/src/core/aio.c index 3218c4b9..8ca00dd6 100644 --- a/src/core/aio.c +++ b/src/core/aio.c @@ -520,9 +520,8 @@ nni_aio_expire_add(nni_aio *aio) } eq->eq_list[eq->eq_len++] = aio; - if (eq->eq_len == 1) { - nni_cv_wake(&eq->eq_cv); - } + // Fire the latest aio, but it cames with performance punishment + nni_cv_wake(&eq->eq_cv); } static void |
