We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e0c06e commit d7edf5dCopy full SHA for d7edf5d
railib/__init__.py
@@ -12,5 +12,5 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
-__version_info__ = (0, 7, 2)
+__version_info__ = (0, 7, 3)
16
__version__ = ".".join(map(str, __version_info__))
railib/api.py
@@ -324,11 +324,13 @@ def _parse_arrow_results(files: List[TransactionAsyncFile]):
324
def poll_with_specified_overhead(
325
f,
326
overhead_rate: float,
327
- start_time: int = time.time(),
+ start_time: float = None,
328
timeout: int = None,
329
max_tries: int = None,
330
max_delay: int = 120,
331
):
332
+ if start_time is None:
333
+ start_time = time.time()
334
tries = 0
335
max_time = time.time() + timeout if timeout else None
336
0 commit comments