Skip to content

Commit

Permalink
Call start when creating a background thread transport (#3412)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Wayne Parrott authored May 12, 2017
1 parent ecd4da4 commit 938c68f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def __init__(self, client, name, grace_period=_DEFAULT_GRACE_PERIOD,
client.project, client._credentials, http)
logger = self.client.logger(name)
self.worker = _Worker(logger)
self.worker.start()

def send(self, record, message):
"""Overrides Transport.send().
Expand Down

0 comments on commit 938c68f

Please sign in to comment.