Skip to content

Commit

Permalink
Added small timeout for local
Browse files Browse the repository at this point in the history
Signed-off-by: Brandyn A. White <bwhite@dappervision.com>
  • Loading branch information
Brandyn A. White committed Aug 23, 2012
1 parent 212d885 commit c230dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hadoopy/_local.py
Expand Up @@ -97,7 +97,7 @@ def run_task(self, kvs, cmdenvs=(), poll=None):
elif w and not wrote:
tbfp_w.write(kv)
wrote = True
timeout = 0
timeout = .0001
if wrote and (poll is None or poll()):
break
# Get any remaining values
Expand Down

0 comments on commit c230dcd

Please sign in to comment.