mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Trying to cheat
This commit is contained in:
parent
2cfa97782c
commit
829dcc9a56
@ -1,6 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import requests
|
||||
import time
|
||||
|
||||
|
||||
class Query:
|
||||
@ -365,6 +366,10 @@ class Query:
|
||||
from requests.adapters import HTTPAdapter
|
||||
from urllib3.util.retry import Retry
|
||||
|
||||
# sleep a little, because we querying github too often
|
||||
print("Request, is mutation", is_mutation)
|
||||
time.sleep(0.5)
|
||||
|
||||
def requests_retry_session(
|
||||
retries=5,
|
||||
backoff_factor=0.5,
|
||||
|
Loading…
Reference in New Issue
Block a user