Yeah, that is a queue for entering the station given there are enough docking pads. If all docking pads are taken, you still get docking denied.
If all pads are taken by commanders, there is no way the game can know or estimate how long it will take before these commanders lift off or log out - especially since entering the hangar does not release the pad.
OK ok, forget about the waiting time...