Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(db) yield on DB-less daos methods
### Summary DBless doesn't naturally yield (not with `shared dict`, nor with `lmdb`). This may cause latency spikes when iterating over bigger lists, e.g. `kong.db.routes:each()`. This commit adds some yields so that iterating doesn't fully block the worker from doing other work too, so this is about cooperative multitasking.
- Loading branch information