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")},
|
PyDoc_STR("L.pop() -> returns the LRU item (key,value) without changing key order")},
|
||||||
{"update", (PyCFunction)LRU_update, METH_VARARGS | METH_KEYWORDS,
|
{"update", (PyCFunction)LRU_update, METH_VARARGS | METH_KEYWORDS,
|
||||||
PyDoc_STR("L.update() -> update value for key in LRU")},
|
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")},
|
PyDoc_STR("L.append() -> append value for key in LRU")},
|
||||||
{"append", (PyCFunction)LRU_append, METH_VARARGS | METH_KEYWORDS,
|
{"append", (PyCFunction)LRU_append, METH_VARARGS | METH_KEYWORDS,
|
||||||
PyDoc_STR("L.append() -> append value for key in LRU")},
|
PyDoc_STR("L.append() -> append value for key in LRU")},
|
||||||
|
|||||||
@ -57,8 +57,6 @@ class UTXO():
|
|||||||
|
|
||||||
async def save_utxo(self):
|
async def save_utxo(self):
|
||||||
# save to db tail from cache
|
# save to db tail from cache
|
||||||
self.log.critical("save utxo>>>>")
|
|
||||||
return
|
|
||||||
if self.save_process or not self.cached:
|
if self.save_process or not self.cached:
|
||||||
return
|
return
|
||||||
self.save_process = True
|
self.save_process = True
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user