cache_commands module
פקודות ניהול Cache לבוט Cache Management Commands for Bot
- async cache_commands.cache_stats_command(update, context)[מקור]
הצגת סטטיסטיקות cache
- פרמטרים:
update (telegram.Update)
context (telegram.ext.ContextTypes.DEFAULT_TYPE)
- async cache_commands.clear_cache_command(update, context)[מקור]
ניקוי cache של המשתמש
- פרמטרים:
update (telegram.Update)
context (telegram.ext.ContextTypes.DEFAULT_TYPE)
- async cache_commands.cache_warm_command(update, context)[מקור]
חימום קאש מהיר לסטטיסטיקות משתמש (/cache_warm).
- פרמטרים:
update (telegram.Update)
context (telegram.ext.ContextTypes.DEFAULT_TYPE)
- async cache_commands.debug_cache_command(update, context)[מקור]
/debug_cache <seconds> – הפעלת לוגים זמניים של HIT/MISS/SET (מנהלים בלבד).
שימוש: - /debug_cache 300 (5 דקות) - /debug_cache 0 (כיבוי)
- פרמטרים:
update (telegram.Update)
context (telegram.ext.ContextTypes.DEFAULT_TYPE)