connector

This commit is contained in:
4tochka 2019-05-12 20:59:07 +04:00
parent faa8d2a70c
commit d4ac9c5bf8
2 changed files with 1 additions and 3 deletions

View File

@ -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")},

View File

@ -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