some-upgrades

This commit is contained in:
2022-08-13 19:19:16 +03:00
parent e4a1dad495
commit aba5e11522
11 changed files with 70 additions and 39 deletions

View File

@@ -53,7 +53,7 @@ class GitTask:
@staticmethod
async def git_task_worker():
print("[service.git] worker start")
print("[service.git] starting task worker")
while True:
task = await GitTask.queue.get()
try:

View File

@@ -151,7 +151,7 @@ class ShoutsCache:
await ShoutsCache.prepare_recent_published()
await ShoutsCache.prepare_recent_all()
await ShoutsCache.prepare_recent_reacted()
print("[zine.cache] updated")
print("[zine.cache] periodical update")
except Exception as err:
print("[zine.cache] error: %s" % (err))
raise err

View File

@@ -14,7 +14,7 @@ class TopicStorage:
for topic in self.topics.values():
self.load_parents(topic)
print('[zine.topics] %d ' % len(self.topics.keys()))
print('[zine.topics] %d precached' % len(self.topics.keys()))
@staticmethod
def load_parents(topic):