mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Add small timeout
This commit is contained in:
parent
88657cfbe1
commit
27eaea184a
@ -2,6 +2,7 @@
|
||||
from __future__ import print_function
|
||||
import csv
|
||||
import sys
|
||||
import time
|
||||
import tempfile
|
||||
import threading
|
||||
import os, urllib
|
||||
@ -187,6 +188,7 @@ if __name__ == "__main__":
|
||||
break
|
||||
except Exception as ex:
|
||||
exception_text = str(ex)
|
||||
time.sleep(0.1)
|
||||
|
||||
if exception_text:
|
||||
print("Exception: {}".format(exception_text), file=sys.stderr)
|
||||
|
Loading…
Reference in New Issue
Block a user