mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 04:00:18 +03:00
Remove lock usage from master merge
This commit is contained in:
parent
2691872503
commit
dffbd2d689
|
@ -232,7 +232,6 @@ class SQLiteSession(MemorySession):
|
|||
return types.updates.State(pts, qts, date, seq, unread_count=0)
|
||||
|
||||
def set_update_state(self, entity_id, state):
|
||||
with self._db_lock:
|
||||
c = self._cursor()
|
||||
c.execute('insert or replace into update_state values (?,?,?,?,?)',
|
||||
(entity_id, state.pts, state.qts,
|
||||
|
|
Loading…
Reference in New Issue
Block a user