Skip to content

Commit

Permalink
Change default binding to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed May 15, 2012
1 parent e3f5bf2 commit 16d3705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/taskmaster/cli/master.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def main():
import optparse
import sys
parser = optparse.OptionParser()
parser.add_option("--host", dest="host", default='0.0.0.0:3050')
parser.add_option("--host", dest="host", default='127.0.0.1:3050')
parser.add_option("--size", dest="size", default='10000', type=int)
parser.add_option("--reset", dest="reset", default=False, action='store_true')
(options, args) = parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion src/taskmaster/cli/slave.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def main():
import optparse
import sys
parser = optparse.OptionParser()
parser.add_option("--host", dest="host", default='0.0.0.0:3050')
parser.add_option("--host", dest="host", default='127.0.0.1:3050')
parser.add_option("--progress", dest="progressbar", action="store_true", default=False)
(options, args) = parser.parse_args()
if len(args) != 1:
Expand Down

0 comments on commit 16d3705

Please sign in to comment.