Libraries refactor and add some sinks #4

Closed
m wants to merge 136 commits from library-refactor into master
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 6979b6c34a - Show all commits

View File

@ -516,6 +516,7 @@ class Transactions(object):
def write_to_es(self, msgtype, cast):
cast["type"] = msgtype
cast["ts"] = str(datetime.now().isoformat())
cast["xtype"] = "tx"
self.es.index(index=settings.ES.Index, document=cast)
def get_remaining(self):