1 Commits
Author SHA1 Message Date
fdcc6f9221 refactor(keyPos): Enhance key position retrieval with CommandInfo caching (#3804)
* refactor(TODO-3803): Enhance key position retrieval with CommandInfo caching ultimately solving the TODO

* fix(command): Handle nil cache in Peek method to prevent panic

* refactor(command): Optimize keyless command handling and improve refresh lock mechanism as requested

* Check the keyless command before the switch cases

* docs(command): Update Peek method documentation to clarify blocking behavior during initial population

* refactor(command): Optimize command slot handling by caching CommandInfo and reducing redundant Peek calls

* Update command.go

---------

Co-authored-by: Krish Srivastava <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
2026-05-27 13:00:54 +03:00