Skip to content

Commit

Permalink
README tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Marsden committed Jun 14, 2011
1 parent 42282db commit 95c2478
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ PREREQUISITES:

* qbuf (a Python C-extension)

NEW FEATURES:
* MySQL DATETIME fields now show up correctly (XXXX-XX-XX XX:XX:XX).
* When a runOperation is called, the deferred now returns the a dictionary
with the following:
- {'insert_id': int, 'affected_rows': int, 'message': str,
'warning_count': int, 'server_status': int}
FEATURES:
* Connects lazily to MySQL and disconnects if the connection is left
idle longer than idle_timeout
* Reconnects on errors when there are pending queries (including
Expand All @@ -26,6 +21,11 @@ NEW FEATURES:
* Code comments, and a lot of tidying up
* Fixed insidious bug relating to disconnection which resulted
in corrupt/duplicated results getting sent on the wrong deferreds
* MySQL DATETIME fields now show up correctly (XXXX-XX-XX XX:XX:XX).
* When a runOperation is called, the deferred now returns the a dictionary
with the following:
- {'insert_id': int, 'affected_rows': int, 'message': str,
'warning_count': int, 'server_status': int}

TODO:

Expand Down Expand Up @@ -75,13 +75,13 @@ if __name__ == "__main__":

SHAMELESS PLUG:

txMySQL will be used in production by Hybrid Web Cluster, which is an
n-redundant web cluster with no single point of failure, which uses ZFS
replication to eliminate shared storage in loosely coupled, geographically
distributed web hosting environments. Entire data centres can fail and
everything carries on running, with data loss and downtime measured in
seconds, not hours or days, and stress caused by hardware or network
connectivity failures a thing of the past.
txMySQL is used in production by Hybrid Web Cluster, which is an n-redundant
web cluster with no single point of failure, which uses ZFS replication to
eliminate shared storage in loosely coupled, geographically distributed web
hosting environments. Entire data centres can fail and everything carries on
running, with data loss and downtime measured in seconds, not hours or days,
and stress caused by hardware or network connectivity failures a thing of the
past.

It runs on dedicated hardware and/or cloud infrastructure, enabling hybrid
setups where you use dedicated hardware for performance and cloud
Expand Down
2 changes: 1 addition & 1 deletion txmysql/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def stateTransition(self, data=None, state='disconnected', reason=None):
# it now
if self._current_operation and self._error_condition:
if self.retry_on_error:
print "Would have run retry here..."
print "Would have run retry here... %r" % (reason,)
if DEBUG:
print "Retrying on error %s, with current operation %s" % (str(reason), str(self._current_operation))
# Retry the current operation
Expand Down

0 comments on commit 95c2478

Please sign in to comment.