Skip to content

Commit a35032e

Browse files
committed
fix unloading bug
1 parent bcc46dc commit a35032e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

markov_bot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ def check_cache():
196196
global gcache
197197
while len(gcache) > max_cache_size:
198198
unload_group(gcache[0])
199-
gcache = gcache[1:]
200199

201200
def unload_group(chat_id):
202201
global gcache, gc_counter

0 commit comments

Comments
 (0)