Discard destination 'localhost'

pull/83/head
Erik Johnston 2015-02-18 11:32:39 +00:00
parent 47d3ff4cf8
commit b68e4a729f
1 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ class TransactionQueue(object):
def enqueue_edu(self, edu):
destination = edu.destination
if destination == self.server_name:
if destination == self.server_name or destination == "localhost":
return
deferred = defer.Deferred()
@ -128,7 +128,7 @@ class TransactionQueue(object):
@defer.inlineCallbacks
def enqueue_failure(self, failure, destination):
if destination == self.server_name:
if destination == self.server_name or destination == "localhost":
return
deferred = defer.Deferred()