Skip to content
Snippets Groups Projects
Commit b68e4a72 authored by Erik Johnston's avatar Erik Johnston
Browse files

Discard destination 'localhost'

parent 47d3ff4c
Branches
Tags
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment