comment out convert, add logging statement

This commit is contained in:
ThomasV 2019-06-17 16:55:12 +02:00
parent a54cb30cf3
commit 06b5299b0f
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,7 @@ PYTHON = python3
.PHONY: theming apk clean .PHONY: theming apk clean
theming: theming:
bash -c 'for i in network lightning; do convert -background none theming/light/$$i.{svg,png}; done' #bash -c 'for i in network lightning; do convert -background none theming/light/$$i.{svg,png}; done'
$(PYTHON) -m kivy.atlas theming/light 1024 theming/light/*.png $(PYTHON) -m kivy.atlas theming/light 1024 theming/light/*.png
prepare: prepare:
# running pre build setup # running pre build setup

View file

@ -237,6 +237,7 @@ class Peer(Logger):
raise Exception('unknown message') raise Exception('unknown message')
if self.gossip_queue.empty(): if self.gossip_queue.empty():
break break
self.logger.debug(f'process_gossip {len(chan_anns)} {len(node_anns)} {len(chan_upds)}')
# note: data processed in chunks to avoid taking sql lock for too long # note: data processed in chunks to avoid taking sql lock for too long
# channel announcements # channel announcements
for chan_anns_chunk in chunks(chan_anns, 300): for chan_anns_chunk in chunks(chan_anns, 300):