Explorar o código

job delay ...

Steve Nyemba hai 1 ano
pai
achega
01d92c48b4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      transport/etl.py

+ 1 - 0
transport/etl.py

@@ -117,6 +117,7 @@ class Transporter(Process):
             _fwd_args = {} if not _args else _args
             
             self._delegate_write(_df.iloc[_indexes],**_fwd_args)
+            time.sleep(1)
             #
             # @TODO: Perhaps consider writing up each segment in a thread/process (speeds things up?)
             pass