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