delete info message

This commit is contained in:
juvilius 2022-07-11 08:15:45 +02:00
parent e96b1e8199
commit 85b996dac9
Signed by untrusted user who does not match committer: julius
GPG Key ID: 3EAC91A848E1D685

View File

@ -235,20 +235,9 @@ class Queue:
if p == None: if p == None:
p = self.pick_random() p = self.pick_random()
try: try:
start_parsing = time.time()
w = self.Parser(p) # fetch new word w = self.Parser(p) # fetch new word
word_dict = w.todict() word_dict = w.todict()
print(
f"{p} | "
f"{len(self.words)} words collected, "
f"{len(self.queue)} words waiting in queue"
# f", {start_db_stuff-start_parsing:.06f}s"
# f"/{time.time() - start_db_stuff:.06f}s"
)
start_db_stuff = time.time()
prefix = p[: self.prefix_length].lower() prefix = p[: self.prefix_length].lower()
if self.unusual(prefix): if self.unusual(prefix):
prefix = "_" * self.prefix_length prefix = "_" * self.prefix_length