mirror of https://github.com/CIRCL/AIL-framework
fix: [term Tracker] TimeoutException
parent
04bd78934d
commit
3bf4254308
|
@ -81,7 +81,7 @@ if __name__ == "__main__":
|
||||||
try:
|
try:
|
||||||
dict_words_freq = Term.get_text_word_frequency(item_content)
|
dict_words_freq = Term.get_text_word_frequency(item_content)
|
||||||
except TimeoutException:
|
except TimeoutException:
|
||||||
print ("{0} processing timeout".format(paste.p_rel_path))
|
print ("{0} processing timeout".format(item_id))
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
signal.alarm(0)
|
signal.alarm(0)
|
||||||
|
|
Loading…
Reference in New Issue