Commit 5c2aee1
committed
fix(permission_system): streamline cache handling for command permissions
- Simplified the cache retrieval logic by directly unwrapping values and removing unnecessary checks for malformed entries.
- Improved logging to provide clearer messages for cache hits, enhancing traceability during cache operations.
- Ensured that uncached commands are accurately tracked, improving overall cache management efficiency.1 parent b97cbd2 commit 5c2aee1
1 file changed
+3
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | 528 | | |
534 | | - | |
| 529 | + | |
535 | 530 | | |
| 531 | + | |
536 | 532 | | |
537 | 533 | | |
538 | 534 | | |
| |||
636 | 632 | | |
637 | 633 | | |
638 | 634 | | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
| 635 | + | |
647 | 636 | | |
648 | 637 | | |
649 | 638 | | |
| |||
0 commit comments