Skip to content

Commit

Permalink
adding some honesty to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
progrium committed Mar 1, 2011
1 parent ca86373 commit a027a9e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ balancing. But it will do this R times where R is a replication factor. Each rep
has an added delay to execution. If any of them run, the others are canceled.
In this way you can schedule tasks and not worry that hosts might go down, achieving
HA of service and data.

ADVERTISED FEATURES NOT YET DONE

- rate limiting
- idempotency
- error handling

LICENSE

Expand Down
3 changes: 2 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
-tests
-performance tests
-rate limiting
-idempotency
-idempotency
-error webhook
2 changes: 1 addition & 1 deletion miyamoto/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def time_until(self):
return 0 + self.replica_offset

def request(self):
headers = {"User-Agent": "miyamoto/0.1", "X-Task-Id": self.id}
headers = {"User-Agent": "Miyamoto/0.1", "X-Task": self.id, "X-Queue": self.queue_name}
if self.method == 'POST':
return urllib2.Request(self.url, urllib.urlencode(self.params), headers)
elif task.method == 'GET':
Expand Down

0 comments on commit a027a9e

Please sign in to comment.