Refactoring for perfs increase
Use custom quorum level. Add waiting in queue metric