This commit is contained in:
Noah Levitt 2017-11-13 15:07:47 -08:00
parent f5351a43df
commit ef590a2fec
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ before_install:
- ping -c2 trough - ping -c2 trough
install: install:
- pip install . pytest requests warcio - pip install . pytest requests warcio mock
before_script: before_script:
- ps ww -fHe - ps ww -fHe

View File

@ -59,8 +59,8 @@ class TroughClient(object):
self._promoter_thread = None self._promoter_thread = None
if promotion_interval: if promotion_interval:
self._promoter_thread = threading.Thread( self._promoter_thread = threading.Thread(
target=self._promotrix, name='TroughClient-promoter', target=self._promotrix, name='TroughClient-promoter')
daemon=True) self._promoter_thread.setDaemon(True)
self._promoter_thread.start() self._promoter_thread.start()
def _promotrix(self): def _promotrix(self):