Skip to content

Commit

Permalink
default port should be 5 digits long
Browse files Browse the repository at this point in the history
  • Loading branch information
tlozoot committed Apr 30, 2012
1 parent d907081 commit 97423a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -136,7 +136,7 @@ The REST(-ful-ish) API

- `POST /workers?port=P&ttl=T`
Register a worker to the worker pool by requesting IP address. Default port
is 2626. Workers can also specify a time to live in seconds; by default
is 26262. Workers can also specify a time to live in seconds; by default
registrations last for 1m. Workers should re-register before their TTL
period expires. Workers can also de-register at any time by setting a TTL
of -1. Returns a JSON object containing information about the requester.
Expand Down
2 changes: 1 addition & 1 deletion config.rb
Expand Up @@ -9,7 +9,7 @@
require './lib/json_responder'

NUM_STARTING_CREDITS = 12
DEFAULT_PORT = 2626
DEFAULT_PORT = 26262
DEFAULT_WORKER_TTL = 60
DEFAULT_CHUNK_TTL = 86400 # 1 day
LOCK_TIMEOUT = 10
Expand Down

0 comments on commit 97423a8

Please sign in to comment.