mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor optimization
This commit is contained in:
parent
501fd85fa1
commit
e33f70269b
|
@ -86,13 +86,13 @@ class HashDB(object):
|
|||
return
|
||||
|
||||
self._cache_lock.acquire()
|
||||
items = self._write_cache.items()
|
||||
self._write_cache.clear()
|
||||
_ = self._write_cache
|
||||
self._write_cache = {}
|
||||
self._cache_lock.release()
|
||||
|
||||
try:
|
||||
self.beginTransaction()
|
||||
for hash_, value in items:
|
||||
for hash_, value in _.items():
|
||||
while True:
|
||||
try:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user