Skip to content

Commit

Permalink
Log updates in legacy proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Dec 7, 2024
1 parent 78baec9 commit ca89239
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions legacy-proxy/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ async def search(self, query):
return [(r["i"], r["s"]) for r in body["r"]]

async def update(self, changes):
print(f'sending update with {len(changes)} changes')
url = self.index_url + f"/{self.index_name}/_update"
data = msgpack.dumps({"c": changes})
headers = {
Expand Down

0 comments on commit ca89239

Please sign in to comment.