mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-08-17 12:43:19 +00:00
Fix for deadlock with large report (#508)
* add large xml sample * Avoid deadlock * Remove extra whitespaces
This commit is contained in:
+3
-3
@@ -1194,15 +1194,15 @@ def _main():
|
||||
for proc in processes:
|
||||
proc.start()
|
||||
|
||||
for conn in connections:
|
||||
results.append(conn.recv())
|
||||
|
||||
for proc in processes:
|
||||
proc.join()
|
||||
if sys.stdout.isatty():
|
||||
counter += 1
|
||||
pbar.update(counter - pbar.n)
|
||||
|
||||
for conn in connections:
|
||||
results.append(conn.recv())
|
||||
|
||||
for result in results:
|
||||
if type(result[0]) is ParserError:
|
||||
logger.error("Failed to parse {0} - {1}".format(result[1],
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user