connector
This commit is contained in:
parent
faa8d2a70c
commit
d4ac9c5bf8
@ -558,7 +558,7 @@ static PyMethodDef LRU_methods[] = {
|
||||
PyDoc_STR("L.pop() -> returns the LRU item (key,value) without changing key order")},
|
||||
{"update", (PyCFunction)LRU_update, METH_VARARGS | METH_KEYWORDS,
|
||||
PyDoc_STR("L.update() -> update value for key in LRU")},
|
||||
{"put", (PyCFunction)LRU_append, METH_VARARGS | METH_KEYWORDS,
|
||||
{"put", (PyCFunction)LRU_put, METH_VARARGS | METH_KEYWORDS,
|
||||
PyDoc_STR("L.append() -> append value for key in LRU")},
|
||||
{"append", (PyCFunction)LRU_append, METH_VARARGS | METH_KEYWORDS,
|
||||
PyDoc_STR("L.append() -> append value for key in LRU")},
|
||||
|
||||
@ -57,8 +57,6 @@ class UTXO():
|
||||
|
||||
async def save_utxo(self):
|
||||
# save to db tail from cache
|
||||
self.log.critical("save utxo>>>>")
|
||||
return
|
||||
if self.save_process or not self.cached:
|
||||
return
|
||||
self.save_process = True
|
||||
|
||||
Loading…
Reference in New Issue
Block a user